Any macro for this?

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

kezluos
decaying skeleton
decaying skeleton
Posts: 2
Joined: Fri Dec 30, 2005 12:00 am

Any macro for this?

Post by kezluos » Fri Dec 30, 2005 12:02 am

I want a simple macro that will spam one or more combat buttons during combat :D

Nothing complicated at all, just something like if auto attack is on & skill is ready, use skill. Preferably one where I can just stick my own skill name in the macro depending on what I want to be used.

TheZ
a hill giant
a hill giant
Posts: 243
Joined: Tue Jan 11, 2005 3:05 am

Post by TheZ » Fri Dec 30, 2005 12:53 am

Donate, get VIP, and acquire a host of plugins that do this, and more, for you.

Otherwise, you might as well just set up Autofire to spam the buttons or something.

zanomo
a hill giant
a hill giant
Posts: 285
Joined: Thu Jun 24, 2004 11:21 pm

Post by zanomo » Fri Dec 30, 2005 4:05 am

Code: Select all

/if (${Me.Combat} && ${Me.AbilityReady[kick ass]}) /doability "kick ass"

kezluos
decaying skeleton
decaying skeleton
Posts: 2
Joined: Fri Dec 30, 2005 12:00 am

Post by kezluos » Fri Dec 30, 2005 11:33 pm

zanomo wrote:

Code: Select all

/if (${Me.Combat} && ${Me.AbilityReady[kick ass]}) /doability "kick ass"
Thank you!! :D :D :D

oorglebot8000
orc pawn
orc pawn
Posts: 18
Joined: Thu Apr 14, 2005 11:41 pm

Post by oorglebot8000 » Sat Dec 31, 2005 1:11 am

That's only the single command to do what you are looking for. Try this as a simple macro to do what you wanted:

Code: Select all

Sub Main
  :ForeverLoop
	/if (${Me.Combat} && ${Me.AbilityReady[kick ass]}) /doability "kick ass"
  /goto :ForeverLoop
/return
You can make multiple copies of the /if statement to make it do differerent abilities - just change the "kick ass" in both parts of the line to what you need it to be. Next time you may want to look at how other, existing macros do stuff before asking questions though - may get a friendlier response when you have a problem. A good way to start is to paste some code and say "what's wrong with this".