/cast [target=player] barkskin; [target=help]Healing Touch(Rank 12); [target=harm] PEWPEWPEW

First checks to see if you're targetting you - if so, barkskin... if not, checks to see if target is help, healing touch... you could also add if your target is a baddy, then DIE DIE DIE.

Disclaimer - untested, I'm bored and at work.