Help/harm mouseover macro help!

Hey guys :slight_smile: I’m trying to create a macro for my upcoming Priest that combines buffs or heals with damage abilities based on modifiers. For example, I’m wanting a macro that will cast shadow mend on my mouseover friendly target but vampiric touch on my current selected enemy target if no mouseover exists. Any help would be appreciated!

Cough cough pins.