Credits: Beirras

WoW's macro scripting language in version 2.0+ has been completely overhauled, so most old macros will no longer work.
For information about the changes, please read 2.0 Changes - Concise List (version 3): http://forums.worldofwarcraft.com/threa … &sid=1

Please add any macros you can think of.

NOTICE:
* NO macro can check for BUFFS, DEBUFFS, COOLDOWNS, or HEALTH/MANA/RAGE
* Any failed cast attempt stops the macro from casting any further spells.
* Any spell cast without "(Rank X)" will automatically cast the highest rank of the spell you know.
* All beneficial spells will automatically reduce rank if necessary to that of a lower level target.
* Each shapeshift corresponds to a "stance." Either Moonkin or Tree of Life is stance 5, depending on spec. Flight Form would be the next number.
* /castsequence resets after all listed spells are cast; reset=X will reset X seconds after last activation (not initial activation).
* The Shift modifier is currently broken, I think. It should be fixed in the next patch. There might be a workaround.
* focus allows you to "store" a target (with /focus) until you clear the focus (with /clearfocus), which can be targetted at any time (with /target focus, or [target=focus])

Feral Macros - (note: non-stealth ability listed before the stealth ability to allow the macro button to light up when there is enough energy for a Shred/Rake/Mangle)

Ravage/Shred combo
* /cast [nostealth] Shred; [stealth] Ravage

Pounce/Rake combo
* /cast [nostealth] Rake; [stealth] Pounce

Pounce/Mangle combo - Note the extra ()
* /cast [nostealth] Mangle (Cat)(); [stealth] Pounce

Prowl or Faerie Fire (Feral)
* /cast [nocombat, nostealth] Prowl; [combat, nostealth] Faerie Fire (Feral)

Maul/Mangle
* /castsequence reset=6/combat Maul, Mangle (Bear)(), Maul, Maul

Shifting Macros

Shift to Caster Form from any form
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>

Shift to Dire Bear Form from any form
* /cancelaura [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance] Dire Bear Form

Shift to Dire Bear From and Feral Charge from any form
* /cancelaura [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance] Dire Bear Form; [stance:1] Feral Charge

Shift to Dire Bear Form and equip Idol/Weapon
* "Shift to Dire Bear From from any form, equip Warden Staff and Idol of Brutality only when you actually shift to Dire Bear. Note that the test for the equip is still [nostance] because it hasn't yet registered that the stance has changed. You don't need to worry about the global cooldown, because the stance change and the weapon equip both trigger it at the same time, so you only suffer once. (...equipping things can be done during global cooldown.) I haven't tried, but I suspect that reversing these would cause the change to bear form to fail, since it would then be trying to do it during the weapon change's global cooldown."
* /cancelaura [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance] Dire Bear Form;
* /equip [nostance] Warden Staff
* /equip [nostance] Idol of Brutality

Shift to Cat Form from any form
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance] Cat Form

Shift to Cat Form and stealth from any form (first line makes the macro display the Prowl cooldown)
* # show Prowl
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance] Cat Form; [nostealth] Prowl

Shift to Cat Form and equip Idol
* /cancelaura [stance:1] Dire Bear Form;[stance:2] Aquatic Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance] Cat Form; [nostealth] Prowl
* /equip [nostance] Idol of Ferocity

Shift to Travel Form from any form
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance] Travel Form

Spam Travel Form
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance, outdoors] Travel Form

All-Terrain Travel Form
* /cancelaura [stance:1] Dire Bear Form; [stance:3] Cat Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance, swimming] Aquatic Form; [nostance, outdoors] Travel Form

Spam All-Terrain Travel Form
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance, swimming] Aquatic Form; [nostance, outdoors] Travel Form

Spam ATTF + Mount
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /use Stormpike Battle Charger <replace with your mount>
* /cast [nostance, swimming] Aquatic Form; [nostance, outdoors] Travel Form

Shift to Tree of Life form and switch your actionbar from #1, to #2 (since most spells don't work in Tree of Life, you can set up a dedicated actionbar with ToL-only spells)
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /cast [nostance] Tree of Life
* /changeactionbar [stance:5] 2

Return to Caster Form and restore original actionbar
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Tree of Life
* /cancelaura [mounted] Frostwolf Howler <replace with your mount>
* /changeactionbar [nostance] 1

General Utility Macros

Faerie Fire and Feral Faerie Fire combo
* # show Faerie Fire (Feral)()
* /cast [nostance] Faerie Fire; Faerie Fire (Feral)()

Spammable Prowl and Shadowmeld
* /cast [nocombat, stance:3, nostealth] Prowl; [nocombat, nostealth] Shadowmeld

Innervate (cast on self if ALT key held down, otherwise cast on mouse hover, otherwise give glowing hand selector)
* /cast [modifier:alt, target=player] Innervate; [target=mouseover, exists, help] Innervate; [target=none] Innervate

Moonfire Spam
* /castsequence reset=9/target/combat/ctrl Moonfire(Rank 10), Moonfire(Rank 9), Moonfire(Rank 9), Moonfire(Rank 9), Moonfire(Rank 9)

Moonfire Flex
* /cast [modifier:ctrl] Moonfire(Rank 1); [button:2] Moonfire(Rank 9); Moonfire(Rank 10)

Moonfire + Idol
* /equip Idol of the Moon
* /cast Moonfire

Totem Killer - needs testing
* /target totem
* /cast [harm] Moonfire(Rank 1)

Cleanse Poison/Curse Combo
* #left click abolish poison, right click remove curse. both find target, alternatively, if you prefer targeting player first, replace target=none with target=target
* /cast [button:1,target=none] Abolish Poison; [button:2,target=none] Remove Curse

Faerie Fire Target or Target's target
* /cast [harm] Faerie Fire; [target=targettarget, harm] Faerie Fire

Hurricane+Barkskin
* # show Hurricane
* /stopmacro [channeling:Hurricane]
* /castsequence reset=60/combat Barkskin, Hurricane

Gift of the Wild/Mark of the Wild
* /cast [button:2] Gift of the Wild; [modifer:ctrl] Gift of the Wild; Mark of the Wild

Stun and Self-Heal (Tauren)
* # show War Stomp
* /cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /castsequence [target=player] reset=120/combat War Stomp, Regrowth, Rejuvenation

Stun and Self-Heal (Dire Bear Form) - no idea if this works...
# show Bash
* /cancelaura [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form <or Tree of Life>
* /castsequence [stance:1] reset=50/combat Bash, Dire Bear Form, Regrowth, Rejuvenation
* /castsequence [nostance] reset=50/combat Dire Bear Form, Bash, Dire Bear Form, Regrowth, Rejuvenation

Healing Macros

Nature's Swiftness + Healing Touch
* /cast Nature's Swiftness
* /stopcasting
* /cast [help] Healing Touch; [target=player] Healing Touch

NS + HT/Regrowth
* /cast Nature's Swiftness
* /stopcasting
* /cast [nostance, help] Healing Touch; [nostance, target=player] Healing Touch; [stance:5, help] Regrowth; [stance:5, target=player] Regrowth

ZHC + NS + HT/Regrowth
* /use Zandalarian Hero Charm
* /stopcasting
* /cast Nature's Swiftness
* /stopcasting
* /cast [nostance, help] Healing Touch; [nostance, target=player] Healing Touch; [stance:5, help] Regrowth; [stance:5, target=player] Regrowth

Heal target or self, based on context
* /cast [help] <Healing Spell>; [target=player] <Healing Spell>
* /stopmacro [nohelp]
* /say "Healing %t in 3 seconds."

HoT Stack
* /castsequence [help] reset=8/target Regrowth, Rejuvenation, Lifebloom; [target=player] reset=8 Regrowth, Rejuvination, Lifebloom

Rejuv + Idol
* /equip Idol of Rejuvenation
* /cast Rejuvenation

Heal Target or Target's target
* /cast [help] Healing Touch; [target=targettarget] Healing Touch

Healing Touch Mega-pack
* /cast [modifier:alt,target=player] Healing Touch;[help] Healing Touch;[target=targettarget, help] Healing Touch;[target=mouseover,help] Healing Touch;[target=focus,help] Healing Touch;[target=focustarget,help];[target=none] Healing Touch