Help/Harm Macro with No Target

Hi there, just set up a simple help/harm macro which is working great when I have a target selected.

Wondering if there is a condition I can add in which if I have no target, it defaults to the help spells, cause right now if I have no target the spells are just the question mark icon. Don’t need any mouseover functionality or anything.

Using this marco.

/cast [help] Prayer of Healing; [harm] Holy Fire

Thanks!

#showtooltip
/cast [harm] Holy Fire; Prayer of Healing

If you want to go more complex:

Thanks for the quick reply!

So the first one you posted there will make it so it will default to those healing spells and allow me to use them with no one targeted?

Yup.

10chars

Worked perfect thank you!