Quantcast
chat system message disabler - WoWInterface
 
Thread Tools Display Modes
02-19-14, 08:26 AM   #1
Voxxel
A Chromatic Dragonspawn
Join Date: Mar 2009
Posts: 177
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)
  Reply With Quote
02-19-14, 09:29 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
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/
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!

Last edited by Phanx : 02-19-14 at 02:18 PM.
  Reply With Quote
02-19-14, 10:51 AM   #3
Voxxel
A Chromatic Dragonspawn
Join Date: Mar 2009
Posts: 177
as always, thank you very much, Phanx!
  Reply With Quote
02-19-14, 11:25 AM   #4
ronburgundyy
A Deviate Faerie Dragon
 
ronburgundyy's Avatar
Join Date: Feb 2014
Posts: 13
Originally Posted by Phanx View Post
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.
  Reply With Quote
02-19-14, 12:52 PM   #5
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
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.

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.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!

Last edited by Phanx : 02-19-14 at 02:19 PM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » chat system message disabler

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off