Macros no longer working since TWW?

Hello everyone, anyone else having issues with macros not working since TWW launched? Did blizz change something?

I often use this string to shout something while casting a spell if its off cooldown but none of them work now.

Anyone savvy with macros that might be able to help? This is one of the macros:

#showtooltip
/run if GetSpellCooldown(357210) == 0 then SendChatMessage(“Citizens of Dalaran! Raise your eyes to the skies and observe! REEEEEEEEEEEEEE!!!”, “YELL”) end
/cast deep breath

I asked the same question in my guild discord and on a FB group but got nowhere so thought I’d try here, any help appreciated!

Do they still work when you’re in an instance?

They don’t work at all

Change GetSpellCooldown to C_Spell.GetSpellCooldown.

I changed what you asked and it still doesn’t work :man_shrugging:

Then turn on errors and see what’s happening

/console scriptErrors 1

Message: [string “if GetSpellCooldown(359816) == 0 then SendC…”]:1: attempt to call global ‘GetSpellCooldown’ (a nil value)
Time: Tue Oct 8 21:11:15 2024
Count: 3
Stack: [string “if GetSpellCooldown(359816) == 0 then SendC…”]:1: attempt to call global ‘GetSpellCooldown’ (a nil value)
[string “@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua”]:2296: in function ?' [string "@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5479: in function <...AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5425> [string "=[C]"]: in function ChatEdit_ParseText’
[string “@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua”]:5131: in function <…AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5130>
[string “=[C]”]: ?
[string “=[C]”]: in function ChatEdit_SendText' [string "@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:3308: in function <...AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:3302> [string "=[C]"]: in function UseAction’
[string “@Interface/AddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua”]:342: in function handler' [string "@Interface/AddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:667: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:649> [string "@Interface/AddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:681: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:674> [string "@Interface/AddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:723: in function SecureActionButton_OnClick’
[string “@Interface/AddOns/Blizzard_ActionBar/Mainline/ActionButton.lua”]:1438: in function <…/AddOns/Blizzard_ActionBar/Mainline/ActionButton.lua:1408>
[string “=[C]”]: ?

Locals: msg = “if GetSpellCooldown(359816) == 0 then SendChatMessage(“REEEEEEEEEEEEE!!!”, “YELL”) end”
userScriptsDisabled = false

Ok so that error clearly shows that you didn’t make the change I recommended, and that’s why it’s not working.

No popup comes up when i put your change in the macro, but it still does not work. The spell casts normally and it shows the tooltip, but no /yell happens.

Fixed it for ya:

#showtooltip
/run if C_Spell.GetSpellCooldown(357210).startTime==0 then SendChatMessage("Citizens of Dalaran! Raise your eyes to the skies and observe! REEEEEEEEEEEEEE!!!","YELL")end 
/cast Deep Breath

Enjoy.

1 Like

This works better than the other guys suggestion but it will still /yell even when the spell is on cooldown which it shouldn’t, any suggestions? I appreciate the help.

Oh, I tested it out on my Evoker, the spell ID (357210) is wrong . It should be 433874.

#showtooltip
/run if C_Spell.GetSpellCooldown(433874).startTime==0 then SendChatMessage("Citizens of Dalaran! Raise your eyes to the skies and observe! REEEEEEEEEEEEEE!!!","YELL")end 
/cast Deep Breath
2 Likes

You absolute star <3 thank you so much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.