UIErrors/Sound_Enable macro function?

Back in Legion I found this fantastic Macro that turned off the “Item Not Ready Yet” alerts when spamming items. I just noticed today that it doesn’t work correctly because I’m getting both the audio AND the “Item Not Ready Yet” popup alert. Does anyone know what I should change to fix this?

#showtooltip Demoralizing Shout
/cast Demoralizing Shout
/script UIErrorsFrame:Hide();
/console Sound_EnableErrorSpeech 0
/use 13
/use 14
/console Sound_EnableErrorSpeech 1
/script UIErrorsFrame:Clear();
/script UIErrorsFrame:Show();

It’s bugged since patch 8.2.0, I suggest getting an addon like https://www.curseforge.com/wow/addons/error-monster

Otherwise you have to use a small delay but then the error will still show up for a split second

#showtooltip
/cast Demoralizing Shout
/run SetCVar("Sound_EnableErrorSpeech", 0); C_Timer.After(.2, function() UIErrorsFrame:Clear(); SetCVar("Sound_EnableErrorSpeech", 1) end)
/use 13
/use 14
1 Like