Skip to content
TopBuilds.gg logo

Macro lessons · Lesson 5 of 5

TopBuilds.gg

Lesson 5 Advanced macros

Several lines, priorities, stopping a cast and fitting it all in 255 characters.

WoW Advanced Macros

Once the basics work, most advanced macros are the same few ideas stacked: more than one line, the order of options, and a few helper commands.

By TopBuilder · Updated November 24, 2026

Several lines, one global cooldown

Lines run from top to bottom on one press, but only one spell on the global cooldown can go off per press. Put items and spells that sit outside the global cooldown above the main spell, and the main spell last.

27 / 255 characters
/use 13
/use 14
/cast Spell

Helper commands

  • /stopcasting cancels the spell you are casting so the next line can go off at once.
  • /stopmacro [condition] ends the rest of the macro when its condition is true.
  • /cancelaura Buff Name removes one of your own buffs.
  • A ! in front of a spell name stops a toggle from switching itself off: /cast !Spell.

#showtooltip with conditions

#showtooltip alone shows the spell the macro would cast right now, so the button icon follows your conditions. You can also give it a spell or its own conditions to pin the icon to one spell.

Staying under 255 characters

  • The counter under the macro box counts everything, including line breaks.
  • Drop conditions you do not need: nodead and help are the most common extras.
  • Split a long macro into two buttons rather than squeezing it.
  • Scripts such as /run are outside what these tools check.

Examples

Trinkets and a spell

Both trinket slots, then the spell.

43 / 255 characters
#showtooltip
/use 13
/use 14
/cast Fireball

Stop a cast, then heal

Cancels what you are casting so the heal starts immediately.

97 / 255 characters
#showtooltip
/stopcasting
/cast [@mouseover,help,nodead][@target,help,nodead][@player] Flash Heal

End early in combat

Does nothing during combat; buffs only when out of it.

42 / 255 characters
/stopmacro [combat]
/cast Arcane Intellect

Try it yourself

Try it yourself

97 / 255 charactersTry an example:
  1. #showtooltip

    Shows the icon and tooltip of the spell the macro would cast, so the button changes with your conditions.

  2. /stopcasting

    Stops the spell you are casting.

  3. /cast [@mouseover,help,nodead][@target,help,nodead][@player] Flash Heal

    Casts Flash Heal on the unit under your mouse, if it is a friend you can help and it is alive; otherwise on your target, if it is a friend you can help and it is alive; otherwise on you.

    /cast
    Casts
    @mouseover
    Aims at the unit under your mouse
    help
    The unit is a friend you can help
    nodead
    The unit is alive
    @target
    Aims at your target
    help
    The unit is a friend you can help
    nodead
    The unit is alive
    @player
    Aims at you
    Flash Heal
    Spell name

Tested in the game

WoW Forever

5 of 5 parts here were tried in the WoW Forever client.

  • /use · tested
  • /stopcasting · tested
  • /stopmacro · tested
  • /cancelaura · tested
  • toggle-bang · tested

WoW Retail

5 of 5 parts here were tried in the WoW Retail client.

  • /use · tested
  • /stopcasting · tested
  • /stopmacro · tested
  • /cancelaura · tested
  • toggle-bang · tested

FAQ

Why does only the first spell of my macro go off?

Only one spell on the global cooldown can go off per press. Later lines for such spells do nothing that press.

How long can a macro be?

255 characters. Split the job into two macros if it does not fit.