Combining Macro

Fairly new to marcos, wanted to know how I could combine these two with a ctrl conditional

#showtooltip Penance
/cast [@mouseover, harm, nodead] Penance [@target, harm, nodead] Penance

#showtooltip Penance
/cast [@mouseover, help, nodead] Penance [@target, help, nodead] Penance [@player] Penance

CTRL on which functionality? You can easily do both without modifiers.

Ctrl on the help/harm

Pick help or harm. The other will be the default.

1 Like

the thing is I don’t even want the spell to cast on friendlies or myself unless ctrl is pressed but its still letting me

#showtooltip
/cast [mod:ctrl,help] [@mouseover,exists,harm,nodead] [] Penance [@target, harm, nodead] Penance

[@target, harm, nodead] is the same as [harm,nodead]

The below macro includes: [harm,nodead]
/cast [mod:ctrl,help,nodead][@mouseover,exists,harm,nodead][harm,nodead] Penance

As you’ve asked that the macro also include the control modifier to cast on yourself the following should work.

/cast [mod:ctrl,help][mod:ctrl,@player][@mouseover,exists,harm,nodead] [harm,nodead] Penance

#showtooltip
/cast [mod:ctrl,@mouseover,help,nodead] [mod:ctrl,help] [mod:ctrl,@player] [@mouseover,harm,nodead] [harm] [@none] Penance
/stopspelltarget