How to write a clicky macro

Moderator: Officers

Post Reply
User avatar
Koutarou
Posts: 106
Joined: Wed 17 Oct, 2012 5:46 pm

How to write a clicky macro

Post by Koutarou »

With the latest patch we can now macro clickies. I had to walk a couple people through it in healer channel last night.

The two relevant things you need to know are:
  • /useitem <slot> [subindex]
This activates a clicky in the appropriate slot. To see a slot list just type /useitem with no arguments. The subindex is used for items within bags and starts at zero going left to right, top to bottom through the contents. /useitem 23 7 will click the eighth item in your first bag.
  • /pause #, <command>
This is confusing; it works back to front. It executes <command>, THEN puts in a delay of 100ms (0.1s) times the number.

Combining the two you can bind up to 5 clickies to the same social button.

Example #1: an illusion with a 3 second cast time, a shrink click with 0.5sec cast time, in the first, and fourth slot of your second bag:

/pause 30, /useitem 24 0 [cast illusion]
/target <myname> [target self]
/pause 5, /useitem 24 3 [shrink once]
/useitem 24 3 [shrink again, no need for pause since its last line]

Example #2: Mana pool click (waist, 0.5sec), Mana regen click (third bag slot 1, 0.5sec), summon your familiar (second bag slot 5, 5sec), then get rid of the visible pet leaving the buff effect active:

/pause 5, /useitem 20
/pause 5, /useitem 25 0
/pause 50, /useitem 24 4
/pet get lost
Artreth
Posts: 860
Joined: Sun 06 Jun, 2010 2:40 pm
Location: Cambooya, QLD

Post by Artreth »

Further to this, if some of your 'clickies' include AA's, you simply include the /alt activate line in the mix ... For example, I use Pyromancy and AA Familiar on Filli. Her hotkey is:

/pause 10, /useitem face
/pause 10, /useitem waist
/pause 10, /useitem left ring
/pause 10, /useitem shoulders
/pause 10, /useitem range

this gives me form of endurance, mana buff, mana regen, myrmidions aura (sp?), and whatever the clicky is on range items =P. (I know its a number, not word for the slot, but can't remember the numbers). On a separate button, I have


/pause 10, /alt activate 510
/pause 2, /pet get lost
/pause 10, /alt activate 514
/pause 10, /cast 8
/useitem 24 4

This then activates Familiar, Pyromancy, Self Rune spell, and then illusion.

So rather than 5 clickies, 2 AA's, 1 spell and an illusion (For those who cant count, thats 9 items I would normally click), I only have to press two buttons.
Image
Image
Image
Image
User avatar
Melodionxxx
Posts: 3727
Joined: Tue 18 Jan, 2005 1:13 pm
Location: Location: Location:

Post by Melodionxxx »

I have been wanting this for ages. So quick to refresh the clickies now, I don't have to stop song to use sword haste, etc etc. Fkn AWESOME.

Now I have to get back to playing =)
Image
User avatar
Jarinu
Posts: 6523
Joined: Sun 16 Dec, 2007 10:09 am

Post by Jarinu »

Wow big change - thats awesome.
Image
"Looks like Maz was right.. - Thoraf"
"Looks like Maz was right.. There can add me to your sig! - Kofn"
"*sigh* 'the maz is right' strikes again! - Zurt"
"Have you noticed that nobody who thinks 'Maz is right' still plays? - Melo"
"Now Melo doesn't play! Cursed! - Fny"
Post Reply