Page 1 of 1

Spammable autoattack macro

PostPosted: Mon Mar 14, 2016 10:25 am
by Sloffanti
Hi I am looking for a simple spammable melee autoattack only.
Code: Select all
/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(1) then CastSpellByName("Auto Shot OR Shoot") end

Like this one but without the autoshot/shoot switch.
Muchos apprecitos.

Edit: Found it 5sec after posting this thread with the search fonction on the forum.
Code: Select all
/script if not IsCurrentAction(X) then UseAction(X) end;

Important part : Replace the two "X" by the number slot you have binded your normal (non-macro) autoattack, you need to have it bind somewhere for the macro to be able to work.
You can find all the numbers of actionbars slots here thanks to Storfan http://i.imgur.com/BcuQKTO.png
Then you can bind your new spammable autoattack macro wherever you want.