WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   chat system message disabler (https://www.wowinterface.com/forums/showthread.php?t=48957)

Voxxel 02-19-14 08:26 AM

chat system message disabler
 
Hi,

I'm looking for a script to disable the system message below, generated by oQueue since last patch.

"The number of messages that can be sent is limited, please wait to send another message."

I know I can turn this off by deleting my RealID broadcast (OQ) but I can't use the addon then. (there's a hotfix on the way for oQueue but until then it would be nice to disable that spamming message because the last version is still working)

Phanx 02-19-14 09:29 AM

Lua Code:
  1. ChatFrame_AddMessageEventFilter("CHAT_MSG_SYSTEM", function(_, _, message)
  2.      if message == ERR_CHAT_THROTTLED then
  3.           return true
  4.      end
  5. end)

If you need help turning the above code into an addon, copy and paste it into this page:
http://addon.bool.no/

Voxxel 02-19-14 10:51 AM

as always, thank you very much, Phanx! :)

ronburgundyy 02-19-14 11:25 AM

Quote:

Originally Posted by Phanx (Post 290902)
Lua Code:
  1. ChatFrame_AddMessageEventFilter("CHAT_MSG_SYSTEM", function(_, _, message)
  2.      if message == "The number of messages that can be sent is limited, please wait to send another message." then
  3.           return true
  4.      end
  5. end)

If you need help turning the above code into an addon, copy and paste it into this page:
http://addon.bool.no/

Hi Phanx. If you wouldn't mind I would like to upload this to solidice so oQueue users can find it more easily while tiny works on upgrading oQueue to the new messaging system.

Thanks.

Phanx 02-19-14 12:52 PM

I have no idea what "solidice" is, but go for it. If you're actually turning it into an addon and uploading the addon, I'd prefer you list yourself as the author, not me. I don't use oQueue and don't really want people coming to me for help with anything oQueue-related, outside of this forum thread. :p

edit:
Also, I edited the code in my previous post to use the relevant global string, so it will work for players in all languages without editing, not just English.


All times are GMT -6. The time now is 07:30 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI