Useful macros for healers

New Macro Format Request
NOTE: There were substantial changes to macros in 3.1. Many spells were renamed, and much of the scripted command functionality has been modified. In an effort to keep Wowpedia posts relevant please re-validate and re-post macros that work in 3.1. When re-creating a macro please describe what it does, and note the version of WoW that you tested it in. Please follow the example format posted below:

(to get the frame around your macro, don't forget to add space before you start your macro)

Example Macro
/y Hooray, I made a macro!


 * Use: This yells, "Hooray, I made a macro!"
 * Works in 3.3.

Useful Macros for Healers (class independent)
The following are macros applicable to all healing classes.

If Target Not Friendly, Heal Target's Target
/cast [mod:alt,@player][help,nodead][@targettarget,help,nodead][] Flash Heal
 * 1) showtooltip


 * Works in 3.3.3
 * Replace "Flash Heal" with your heal spell.
 * Using key modifies the spell to cast on self.
 * Use: When your current target is unfriendly, the spell will be redirected to their target if it is friendly and alive.

Heal Spell Macro Template
/cast [mod:alt,@player][@mouseover,help,nodead][@mouseovertarget,help,nodead][help,nodead][@targettarget,help,nodead][@player] Flash Heal
 * 1) showtooltip


 * Works in 3.3.3
 * Replace "Flash Heal" with spell of choice.
 * Using key modifies the spell to cast on self.
 * Use: This macro is used for advanced targeting of healing spells. The first test in [ ] that returns true will apply; the following tests are ignored. Users can rearrange the [ ] tests to suit their preferences.  Just remember the first one that is true applies. As show in the example, it will cast your heal at the first valid target in the priority list:

1. The unit under your mouse pointer (mouseover) if friendly and alive,

2. Mouseover's target if their target is alive and friendly,

3. Your active target if they are friendly and alive,

4. Your target's target if their target is friendly and alive,

5. Yourself.

Heal Spell Macro Template, disabled when solo
/cast [mod:alt,@player][help,nodead,nogroup][@player,nogroup][@mouseover,help,nodead][@mouseovertarget,help,nodead][help,nodead][@targettarget,help,nodead][] Flash Heal
 * 1) showtooltip


 * Works in 3.3.3
 * Replace "Flash Heal" with spell of your choice.
 * Using key modifies the spell to cast on self.
 * Used when you don't want mouseover targeting when solo. This macro is used for advanced targeting of healing spells.  The first test in [ ] that returns true will apply; the following tests are ignored. Users can rearrange the [ ] tests to suit their preferences.  Just remember the first one that is true applies. As show in the example, it will cast your heal at the first valid target in the priority list:

Ungrouped:

1. Your active target if friendly and alive

2. Yourself

Grouped:

1. The unit under your mouse pointer (mouseover) if friendly and alive,

2. Mouseover's target if their target is alive and friendly,

3. Your active target if they are friendly and alive,

4. Your target's target if their target is friendly and alive,

5. Yourself (if Auto Self Cast is enabled in WoW Interface Options.)

Emergency Button
/stopcasting /cast ...
 * 1) showtooltip


 * Works in 3.3.3
 * Use: Interrupt a cast in progress to do something different. Otherwise you will get an error stating that another action is already in progress.  Insert the name of your spell-of-choice after cast and optional conditional arguments.

Call for help
/rw The healer is under attack! /helpme


 * Works in 3.3.3
 * Use: Sends a raid warning and emotes "Playername cries out for help!"

Panic Button
/stopcasting /helpme /castsequence reset=10/combat [@player] Power Word: Shield, Psychic Scream, Fade, Flash Heal, Greater Heal /run UIErrorsFrame:Clear
 * 1) showtooltip


 * Use: Stop casting, bubble & heal, while warning the raid that you're under attack.
 * Replace Replace named spells in the castsequence line with your own. You can add multiple heals or other spells (one keypress is required for each spell.) Basically, enter the sequence of spells that work best for your race/class.  Adjust "reset=10" up or down to match a reasonable time (in seconds) to start over from the beginning if you stop pressing the button.
 * The "helpme" line is optional. Including it will broadcast the "Playername cries out for help!" emote with each keypress.