Cast @ focus macro help

Hi,
looking for a macro that can possibly cast Blessing of Protection at my focus but when they die it casts it on me instead…anyone can help me with that?

Someone around here may be able to help, but I’d re-post this in the UI and Macro forum. The guys over there will definitely be able to point you in the right direction a lot quicker than you might get a proper response here. Good luck!

This should do it:

#showtooltip
/cast [@focus,help,nodead][@player]Blessing of Protection

This will cast Blessing of Protection on a friendly, living focus. If your focus is dead, hostile, or you don’t have a focus, it will cast it on you.

tyvm
=)
(20 char)

Hey thanks, I was looking for this exact macro.