Request assistance with Holy Shock macro

So far I’ve managed to make something that does 3 of the 4 things that I want, but I just can’t get it all to connect together.

What I would like is when I am targetting an ally, using Holy Shock will heal my target, but with alt pushed down, it will hit my target’s target.
Then if I am targetting an enemy, Holy Shock will attack the enemy, and with alt pushed down, it will heal my enemy’s target.

#showtooltip
/cast [mod:alt,@targettarget,exists,nodead] [] Holy Shock
1 Like

Hah, is it really so easy? I guess the [exists] tag helps a lot here, I was trying to nest harm and help tags in different lines to get it to do what I wanted. Thanks a lot!