This Hunter macro is provided courtesy of Kevin Oldscratch from The Darkmoon Herald Podcast.
/cast [@focus,help][@pet,exists] Misdirection
Macroexplain.com says it does the following:
If the unit saved as your focus target is a friend then:
Cast Misdirection on the unit saved as your focus target
Else, if your pet exists then:
Cast Misdirection on your pet