So I’d like to do a macro which does the following: when I hit the button, it uses one ability, when I hit the button and ALT, it does another ability; and SHIFT: another ability. And when I hit the button and CTRL it yells something.
This is what I have:
#showtooltip
/cast [mod:shift] JUDGMENT; [mod:ALT] CONSECRATION; [nomod] SHIELD OF THE RIGHTEOUS
/run if GetSpellCooldown(“fireblood”) == 0 and IsCtrlKeyDown() then SendChatMessage(“I would like to RAGE!*”,“yell”)end
/cast [mod:ctrl] fireblood
I’ve used this format before, and its worked. For some reason I can’t figure out, this variation doesnt seem to.
any help would be greatly appreciated.
Optimizations
#showtooltip
/cast [mod:ctrl] Fireblood; [mod:shift] Judgment; [mod:alt] Consecration; Shield of the Righteous
/run if GetSpellCooldown(“Fireblood”) == 0 and IsCtrlKeyDown() then SendChatMessage(“I would like to RAGE!*”,“yell”) end
No errors in the code are jumping out at me (not able to test right now) and being in a macro should qualify as a hardware event (messaging to certain channels is block from non-hardware triggered events these days).
If you’re getting a Lua error on press then that’ll need to be fixed. If you’re not getting any errors then it’s likely I’m wrong about it qualifying as a hardware event and macros in this style no longer work.
I have other macros in this style that do work. I use one on the same paladin which yells ‘Boop’ when I use avenger’s shield, and another on my DK which yells ‘I’m low on health GIVE ME YOURS!’ when I use blooddrinker
1 Like