Jump to content
Sign in to follow this  
Tomzy

[Macro][Help] Start auto attack spam able macro

Recommended Posts

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")
 
= 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 by Tomzy

Share this post


Link to post
Share on other sites

/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 :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×