WoW ForeverMacros

Macros in WoW Forever

WoW Forever macros for every class that put two jobs on one key, plus how to make one, the slash commands and conditions they use, and fixes for a macro that does nothing.

Class macros

Pick your class to open its macros page.

How to make a macro

  1. Type /macro or /m in chat, or choose Macro from the chat command menu.
  2. Click New, give the macro a name and pick the question mark icon, so #showtooltip can show the spell's own icon.
  3. Paste the macro text into the box and save it.
  4. Drag the macro from the window onto an action bar.

Macro templates for any class

Swap the words in capitals for the exact name of your spell or item. These work the same for every class.

Stop casting and fire a spell now

Cancels whatever you are casting and fires SPELL straight away at your mouseover, the enemy frame under your mouse, or else your target, for a stun or interrupt that has to land now. If it cancels your cast but nothing fires, press it again.

#showtooltip SPELL/stopcasting/cast [@mouseover,harm,nodead][harm,nodead] SPELL

Trinket macro: fire your trinkets with your main spell

Tries both trinket slots, then casts SPELL, so an on-use trinket that is ready never sits idle. When both trinkets share a cooldown, only one of them fires per press. A trinket that triggers the global cooldown still fires, but SPELL then waits for your next press.

#showtooltip SPELL/use 13/use 14/cast SPELL

Eat and drink in one press

Starts drinking and eating together, so you only sit down once. Write the exact item names from your bags.

/use YOUR DRINK/use YOUR FOOD

Healthstone and healing potion on one emergency key

Uses your healthstone and your healing potion on the same press. They sit on separate cooldowns, so each one that is ready goes off, and the press still works when only one of them is. Write the exact item names from your bags.

/use YOUR HEALTHSTONE/use YOUR HEALING POTION

Crowd control that remembers its enemy

When you have no living focus, a press makes your target your focus and casts SPELL on it. After that the macro keeps casting SPELL on that same enemy while you attack something else, so a broken sheep, sleep or banish goes back on with one press. Hold Ctrl to make your current target the new focus, which you also need when your focus is a friend.

#showtooltip SPELL/focus [@focus,noexists][@focus,dead][mod:ctrl] target/cast [@focus,harm,nodead][@target,harm,nodead] SPELL

Macro commands in WoW Forever

The slash commands macros use most, grouped by job. Where a row shows more than one form, any of them works.

Casting spells and items

/cast or /spell
Casts the named spell, or uses the item of that name or slot number when no spell has that name.
/use
Uses the named item or inventory slot, or casts the spell of that name when no such item exists.
/castsequence
Casts the next spell or item of a comma list on each press, moving on only after a cast succeeds.
/castrandom
Casts a spell or uses an item picked at random from a comma list, and keeps that pick until it succeeds.
/stopcasting
Stops the spell you are casting.

Attacking and targeting

/startattack
Turns on auto attack. Add [@unit] or a name to pick who.
/stopattack
Turns off auto attack.
/target or /tar
Targets the unit or name you type, or the unit you pick with [@unit].
/targetenemy
Targets the nearest enemy, the same as the Target Nearest Enemy key.
/assist or /a
Takes the target of the unit you name.
/cleartarget
Clears your target.

Setting a focus target

/focus
Sets your focus to the unit you name or pick with [@unit].
/clearfocus
Clears your focus.

Controlling your pet

/petattack
Sends your pet to attack the unit you name or pick with [@unit].
/petfollow
Tells your pet to follow you.
/petstay
Tells your pet to stay where it is.
/petpassive
Sets your pet to passive.

Hunter Arcane Shot pet attack macro and Warlock Shadow Bolt pet attack macro pair /petattack with a shot or a spell, so the pet joins every cast.

Equipping gear

/equip or /eq
Equips the item you name.
/equipslot
Equips the item you name into the equipment slot number you type first.

Canceling buffs and forms

/cancelaura
Removes one of your buffs, named by spell name or spell ID.
/cancelform
Leaves your current shapeshift form.

Balance Druid Moonkin Regrowth heal macro uses /cancelform to leave a form before it casts.

Raid target markers

/targetmarker or /tm
Sets a raid marker, by its number, on your target or the unit you pick with [@unit]. The number zero clears it.

Stopping a macro and dismounting

/stopmacro
Stops the rest of the macro when its conditions pass.
/dismount
Gets you off your mount.

How /castsequence moves on

One step per cast
A step moves on only after its cast succeeds. A failed or interrupted cast leaves the list on the same step.
Pressing during a cast
While a step's cast is still in progress, a press does nothing.
Back to the start
After the last step succeeds, the list goes back to the first step. Every sequence also starts over when you die.
Reset words
Write reset= first, after any conditions, as one word with no spaces, then the comma list. reset=target starts over when you change target, and reset=combat when you leave combat.
Hold a key to restart
reset=shift, reset=ctrl or reset=alt starts at the first step when you hold that key, and that press casts it.
Timer and combined resets
reset= with a number of seconds starts over once about that long passes with no press. Words combine, for example reset=target/combat.

Macro conditions: mouseover, focus, modifier keys and more

Conditions go in square brackets before the spell name. A comma inside the brackets means both must be true, and a second set of brackets is the next choice when the first fails.

[@mouseover]
Aims the line at your mouseover, the unit frame under your mouse. The Priest Power Word: Shield macro adds [help] inside the same brackets, so the press falls back to your target when no friend is there.
[@focus]
Aims the line at your focus, a unit you set with /focus that stays put while you swap targets. The Shaman Earth Shock interrupt macro hits it while you hold Ctrl.
[@player]
Aims the line at you. Put it last, after the mouseover and target choices, so the Druid Innervate mouseover macro lands on you when no friend is picked.
[@targettarget]
Aims the line at your target's target. With an enemy selected, that is usually the player it is attacking, so the Restoration Shaman Lesser Healing Wave macro heals them.
[mod:ctrl] or [mod:shift] or [mod:alt]
True while you hold that key, so one button does two jobs. Alt is also the default Self Cast key, so pick Ctrl or Shift, as the Hunter Aspect of the Hawk macro does.
[harm] or [help]
True when the unit is an enemy you can attack, or a friend you can help. They keep a heal off enemies and let one key both heal and hit, as the Discipline Priest Penance mouseover macro does.
[dead] or [nodead]
True when the unit is dead, or alive. Add [nodead] so a press never wastes itself on a corpse, and [dead] to pick a revive, as the Druid Rebirth and Revive macro does.
[combat] or [nocombat]
True while you are in combat, or out of it. The Warrior Charge or Intercept macro charges before a fight and intercepts during one, on the same key.
[stance:n] or [form:n]
True in the stance or form at that place on your stance bar, counted from the left among the ones you know, as in the Warrior Pummel or Shield Bash macro.
[stealth]
True while you are stealthed, so one key opens from stealth and does something else once the fight starts, like the Rogue Cheap Shot opener macro.
[nochanneling]
True while you are not channeling, so a second press cannot cut a channel short. Add a colon and a spell name to check for that one channel only, as in the Affliction Warlock Drain Life Drain Soul macro.
#showtooltip
Goes on the first line and sets the icon and tooltip the button shows. With no spell name after it, the game shows the spell the macro will cast.

Macro not working? Fixes for common problems

Find what you see, then read the cause and the fix.

The macro icon stays a question mark

Cause
The name after /cast or #showtooltip does not match a spell your character can use: a typo, a missing apostrophe, or a spell not learned yet.
Fix
Delete the name, click into the macro box where it was, then shift-click the spell in your spellbook so the game writes the name for you.

Only the first spell in the macro goes off

Cause
Only one spell on the global cooldown can go off per press, so later /cast lines for such spells do nothing that press.
Fix
Put items and spells that sit outside the global cooldown above the main spell, as the trinket template does, or split the two spells onto two keys.

Holding Alt, Ctrl or Shift changes nothing

Cause
That key combination, such as Shift plus the key, has its own entry on the Keybindings page, and a key binding wins over a macro's modifier.
Fix
Clear that combination on the Keybindings page for every key whose macro does something different when you hold Alt, Ctrl or Shift.

A /castsequence macro sticks on one step

Cause
The list only moves on after a successful cast, as the /castsequence rules above say, so a cast that failed, was interrupted or is still going out leaves it on the same step.
Fix
Press again once the spell can be cast, or add a reset word such as reset=target or reset=combat so the list starts over on its own.

The New button is greyed out

Cause
The macro tab you are on is full, or the Click Casting window is open.
Fix
Delete a macro you no longer use, make the new one on the other tab, General or your character's own, or close Click Casting.

The character counter of the macro box is at its limit

Cause
A macro holds 255 characters, and the counter shows how many you have used.
Fix
Split the job into two macros on two keys, or cut lines the macro does not need.

More WoW Forever guides