Ancestral Spirit with LB/HS

This macro will add ancestral spirit to your Lightning Bolt/Healing Surge macro, but you can add the Ancestral Spirit section to any macro you wish to help clear up some keyboard space.

#showtooltip Lightning Bolt
/cast [@mouseover,help,dead]Ancestral Spirit;[@mouseover,help]Healing Surge;[@mouseover,harm]Lightning Bolt;[help,dead]Ancestral Spirit;[help]Healing Surge;[harm]Lightning Bolt

Macroexplain.com says it does the following:

If the unit your mouse is currently over is a friend and is dead then:
Cast Ancestral Spirit on the unit your mouse is currently over

Else, if the unit your mouse is currently over is a friend then:
Cast Healing Surge on the unit your mouse is currently over

Else, if the unit your mouse is currently over is an enemy then:
Cast Lightning Bolt on the unit your mouse is currently over

Else, if the currently targeted unit is a friend and is dead then:
Cast Ancestral Spirit on the currently targeted unit

Else, if the currently targeted unit is a friend then:
Cast Healing Surge on the currently targeted unit

Else, if the currently targeted unit is an enemy then:
Cast Lightning Bolt on the currently targeted unit

Brilliant!