Mouseover Help Harm Macro?

Hey all. Hopefully someone who is good with macros can help as I cant figure out this one im trying to make for my druid.

I want to use a mouseover help/harm macro for Nature’s Cure and Soothe. So if i have a mouseover and its friendly it will dispel them. If it is a friendly target it will dispel them and lastly if its no target, dispel me.

Then if it is mouseover enemy or targetted enemy it will soothe instead.

Is that possible or is it asking too much from a macro? I can do it with just targeting using:

#showtooltip
/cast [help] Nature’s Cure; [harm] Soothe

Pins are your friend.