Macro with modifier for Rain of Fire and Mortal Coil

Hello,
I’ve scoured the first page of Google and tried 6 or 7 variations of this macro:

#showtooltip
/cast [mod:alt,@mouseover,harm,nodead] Mortal Coil; [@cursor] Rain of Fire

Basically I’m trying to cast RoF @cursor, and when I use the alt modifier I’d like to be able to hit MC @mouseover and if no mouseover, just the target.

It functions up until I have a target and then just defaults to RoF. Any macro gurus available to fix me up?

So close

#showtooltip
/cast [mod:alt,@mouseover,harm,nodead] [mod:alt] Mortal Coil; [@cursor] Rain of Fire

Should have checked the pins first :wink:

Thanks boss