Code: Select all
Sub Main
/echo Autofire Engaged upon ${Target.CleanName}
:autofire
/if (!${Target.ID}) /endmacro
/if (${Target.Distance}>30 && ${Me.RangedReady}) /ranged
/goto :autofire
/returnModerator: MacroQuest Developers
Code: Select all
Sub Main
/echo Autofire Engaged upon ${Target.CleanName}
:autofire
/if (!${Target.ID}) /endmacro
/if (${Target.Distance}>30 && ${Me.RangedReady}) /ranged
/goto :autofire
/returnCode: Select all
#Event exp "#*#experience!#*#"
#Event NoTarget "#*#No target#*#"
#Event AutoAttack "#*#Auto attack is on#*#"
Sub Main
:autofire
/doevents
/ranged
/delay 1s
/goto :autofire
/return
Sub Event_exp
/end
/return
Sub Event_NoTarget
/end
/return
Sub Event_AutoAttack
/end
/return
Code: Select all
#Event YourEvent "#*#YourEventHere#*#"
Code: Select all
Sub Event_YourEventHere
/end
/return