Anyone a Macro Master

I am trying to make a macro that will Swap me out of any form or if I am mounted into Moonkin form, (unless I am in Moonkin form) and then cast a spell.
The goal is to make this spammable.

I cant get the unmount part to work.

/dismount
/cancelform
/cast Moonkinform(whatever the name is for that ability)

I haven’t really done much with druid form stuff. So you want to have the macro:

  1. Dismount you.
  2. Cancel your form, but only when you are not a moonkin?
  3. Cast a spell once you are a moonkin, instead of canceling your moonkin form?
#showtooltip
/dismount
/cancelform [noform:4]
/use [noform:4] Moonkin Form; Moonfire;

This should let you dismount, cancel all forms (except moonkin), turn into a moonkin, and then switches into the moonfire spell for moonfire spam until you leave moonkin form. If moonkin form is not form #4, switch the number of “noform:” into whatever you need it to be.

If /dismount doesnt work, try /cancelaura (mount name).

The last part of your macro “and then cast a spell” won’t work because switching forms activates the GCD.

So you could do:
/cancelaura Mount Name
/cancelaura Cat Form
/cancelaura Bear Form
/cast Moonkin Form

This will put you into Moonkin Form, regardless of your current form or mount state. It satisfies the criteria of being spammable because of the aforementioned GCD on changing forms. But if you click it again after the GCD is over, it will cancel your Moonkin Form.

#showtooltip Moonkin Form
/stand
/dismount
/cancelform [noform:5]
/cast [noform:5] Moonkin Form

Get the LetMeCast addon - it will auto dismount you if you try to cast while mounted - it will auto stand you if you try to cast while not standing (after eating/drinking) and it will auto dismount you if you attempt to use a fp while mounted.

Anything that says ‘you cant do this because you are mounted/not standing’ - it will auto change what it needs to.

The rest of the macro

Is all you will need.