Classic wow marcros question

In Classic WOW macro use what does the ! exclamation mark mean or what is it used for

In what context?

Separately, as they used the modern API, it likely would have the same meaning as Retails, and the answer might be available in the UI and Macro forum somewhere.

EDIT: (For example, <!-- in the XML file is a comment indication --> - standard XML language usage.)

The exclamation is used as a check to see if the action referenced is active and then it will not perform the action if it is already active.

An example being a macro for casting combustion for a mage:

/cast !Combustion

If you pressed this macro the first time, the mage would cast Combustion (which causes a buff to be applied to the mage). If you press the button again (assuming the Combustion buff is still active on the mage), it would not cast it again.

If you did NOT have the ! In front of the Combustion spell, the mage would cast it again and remove the buff on itself.

2 Likes

Also usable with Stealth and other buffs that you kinda want to mash and get off asap… but also don’t want to accidentally cancel by hitting it 1 too many times.

1 Like

Exactly! :laughing:

1 Like