Tomzy 0 Report post Posted December 23, 2016 (edited) Trying to get make a spam able melee attack macro, but the problem each time I push it it turns on/off auto attack and I want it just to turn it on and then ignore that command. I have tried both: ///////////////////// /script if (not PlayerFrame.inCombat) then AttackTarget() end /cast Counterattack /cast Mongoose Bite /cast Raptor Strike ///////////////////////////////////// /script if not IsAutoRepeatAction(62) then CastSpellByName("Attack") end; /cast Counterattack /cast Mongoose Bite /cast Raptor Strike /////////////// and both of them turn on/off the autoattack, not just letting it repeat if it is on Edit: After looking at the link provided by storfan the macro should look like this: /run if not IsCurrentAction(A) then UseAction(A) end; /run CastSpellByName("Counterattack") /run CastSpellByName("Mongoose Bite") /run CastSpellByName("Raptor Strike") A = The number of the button where you have put your autoattack ability, check this link if you dont know the number: http://i.imgur.com/VGArn.jpg (stolen from this thread: https://forum.nostalrius.org/viewtopic.php?f=38&t=21017) Edited December 23, 2016 by Tomzy 0 Share this post Link to post Share on other sites
Storfan 24 Report post Posted December 23, 2016 The only way to make spammable auto-attack macros in vanilla is explained here: https://forum.elysium-project.org/index.php?showtopic=21992 0 Share this post Link to post Share on other sites
Tomzy 0 Report post Posted December 23, 2016 The only way to make spammable auto-attack macros in vanilla is explained here: https://forum.elysium-project.org/index.php?showtopic=21992 Many thanks good sir, found what I did wrong 0 Share this post Link to post Share on other sites
Porta 10 Report post Posted December 23, 2016 /script if not IsCurrentAction(36) then UseAction(36) end; Put auto attack in slot 36(bottom of the 'right actionbar) It toggles auto attack if it isn't toggled on and is spammable 0 Share this post Link to post Share on other sites
EffToyz 12 Report post Posted December 24, 2016 /run AssistUnit("player") and turn the option "attack on assist" on. 0 Share this post Link to post Share on other sites