Macros help

Im currently (on TBC Classic) using this : /cast [harm]Moonfire; Rejuvenation

I would like to add a mouseover on the Moonfire and Id also like the Rejuvenation not to be casted on myself when I dont have a target. Anyone can help?

/cast [@mouseover,exists,nodead][harm]Moonfire; Rejuvenation
this works now I just want to stop casting Rejuv on myself when Im not targeting anything!

#showtooltip
/cast [@mouseover,exists,nodead][harm]Moonfire; [@mouseover,exists,nodead][help]Rejuvenation; Moonfire

Try that. This works in retail and I believe it should work in TBC. You need to add the mouseover to the Rejuv portion or it will only heal your target or yourself if no target is available. The help/harm is also needed.

You can also do depending on what you want your default spell to be.

#showtooltip
/cast [@mouseover,exists,nodead][help]Rejuvenation; [@mouseover,exists,nodead][harm]Moonfire; Rejuvenation

/cast [@mouseover,exists,nodead,harm][harm]Moonfire;[help]Rejuvenation

That should fix it, added a harm on the mouseover, so that if you use mouseover on rejuv it won´t validade as true on friendly targets. Also if you add the condition [help] it should only validade as true if you have a friendly target and don´t cast on yourself.