I made this while learning and received help from people on these forums so I wanted to post this for maybe others who might be learning/want something simple.
This macro uses the MoveUtils plugin to move to into range of your target.
The macro will auto bash/disarm/and taunt if your target does not have you as their ToT. It will also chase the mob if it's running to someone else or fleeing, etc.
Anyway, enjoy this simplistic macro.
Code: Select all
|AutoTank.mac
|Author: EmQueTwo
|Macro uses commands from MQ2MoveUtils plugin. If you don't have or don't
|want to use MoveUtils edit out Event_TooFar
#turbo
#event CantSee "#*#You cannot see your target#*#"
#event TooFar "#*#Your target is too far away#*#"
Sub Main
:melee
/if (${Me.Combat}) {
/doevents
/if (!${Me.Stunned}) {
/if (${Target.Distance}<15) {
/if (${Me.AbilityReady[Bash]}) /doability Bash
/if (${Me.AbilityReady[Disarm]}) /doability Disarm
/if (${Me.TargetOfTarget.ID}!=${Me.ID} && ${Me.AbilityReady[Taunt]}) /doability Taunt
}
}
}
}
/goto :melee
/return
Sub Event_CantSee
/face fast
/return
Sub Event_TooFar
/moveto id
/return

