Warlock Macros

Here are some examples of some good Warlock class macros:

General Warlock:

#showtooltip Summon PetTypeHere
/cast Soulburn
/cast Summon PetTypeHere

Casts "Soulburn", then summons whatever pet type you put in the "PetTypeHere" slot.

#showtooltip Summon PetTypeHere
/cast Soulburn
/cast [nomod] Summon Succubus ; [mod:alt] Summon Felhunter ; [mod:ctrl] Felguard ; [mod:shift] Summon Imp

Casts Soulburn, then whichever pet you want to summon, depending on which modifier you're holding down.

#showtooltip
/focus [mod]
/clearfocus [mod:alt]; [target=focus,dead]
/cast [@focus,harm,nodead] Fear

If holding down a modifier, you will set your focus on your current target. Your focus will clear if your target is dead,
or you hold down alt while using this macro. If you're not holding down anything, you will cast "Fear" on your focus target.

#showtooltip
/stopmacro [channeling]
/cast Rain of Fire

Casts "Rain of Fire" if you're not channeling already, the macro stops if you're channeling already.

#showtooltip
/cast [mod] Ritual of Souls ; Ritual of Summoning

Casts Ritual of Souls if you're holding down a modifier, otherwise, it casts Ritual of Summoning.

Affliction:

#showtooltip
/cast [mod:shift] Immolate
/cast [mod:ctrl] Curse of Agony
/cast [mod:alt] Corruption
/cast [nomod] InstantDamageSpellHere

Casts "Immolate" if you're holding down [shift], casts "Curse of Agony" when you're holding down [ctrl], casts "Corruption"
if you're holding down [alt]. Put any instant damage spell in the last slot, it will be casted if you're not holding down a
modifier.

/castsequence reset=target/combat/5 Haunt, Curse of Exhaustion

Casts "Haunt", then "Curse of Exhaustion" with another use. This macro resets when you swich targets, combat is engaged or disengaged,
or 5 seconds pass by after casting "Haunt".

#showtooltip
/cast [mod:alt] Soul Swap
/assist [mod:shift] focus
/cast [@focustarget, nomod] [] Soul Swap

You can set your focus to your tank, or whoever your raid or party leader says to assist. This will cast "Soul Swap" and inhale
your dots if you're holding down [alt]. If you're holding down [shift], you will target your focus target's target. Lastly, if
you're not holding down any modifers, you will cast Soul Swap on your focus target's target. This will only work if "Soul Swap"
is nowhere else on your bars.

#showtooltip
/cast [button:1] ; [@focustarget, mod, nodead] Soul Swap
/assist [mod] focus

This is another way to write the previous macro. If you use the macro with "button 1", you will inhale your dots. If you use any other
button other than "button 1", you will cast "Soul Swap" on your focus target's target. Holding down any modifier and using this macro
will assist your focus target.

#showtooltip Drain Soul
/use 13
/use 14
/cast Demon Soul
/cast Drain Soul

Use any "use" trinkets you may have on, then casts Demon Soul and Drain Soul.

Demonology:

#showtooltip Curse of Agony
/use 13
/use 14
/cast Metamorphosis
/cast Demon Soul
/script UIErrorsFrame:Clear()

This uses any "use" trinkets you may have on, casts "Metamorphosis", then casts "Demon Soul" and "Curse of Agony".

#showtooltip Hand of Gul'dan
/cast Demonic Empowerment
/cast Hand of Gul'dan

Casts "Demonic Empowerment", then casts "Hand of Gul'dan".

#showtooltip SpellNameHere
/cast [@pettarget, exists] Felstorm
/cast SpellNameHere

This will link your Felguard's "Felstorm" to any of your spells to keep them on cooldown. Useful for Single-target fights.

Destruction:

 

#showtooltip Incinerate
/cast [@pettarget,exists] Firebolt
/cast Incinerate

This will help your Imp cast faster and keep them on their toes. It tells your Imp to cast "Firebolt" continually as you cast
"Incinerate". You can bind your Imp's "Firebolt" to any spell you want, even all of your spells.