This addon filters the trade channel and /yells (and all other numbered channels, i.e. /1 through /99) so that any individual message is only displayed ONCE every XX seconds, where XX is a user-settable number with a default of 600 seconds (10 minutes). Repeats are filtered out, as long as the text is similar and it's been less than XX seconds since the last identical message was shown. Repeated spam typically happens when someone has made a macro advertising something and repeats it over and over - this addon ensure that you will only see the chat message once only, unless the person changes their script or macro, in which case the new message is displayed once only. You don't miss any messages, just the duplicates are removed. A fuzzy match filter is used so that even if text is only similar it can be identified as a repeat. The addon is extremely lightweight and is completely self contained.
All of the chat channels and /y are monitored, but non-numbered channels (like /g or /w) are not. Any message repeated on any monitored channel is filtered, even if the message appears first on one channel and then the exact same text is repeated on another. On a very busy server, repeated advertisements for groups and trade items can make the chat channels nearly unusable, as they are constantly scrolling with hundreds of messages per minute - but removing the duplicates can reduce the channel chatter by as much as 80% depending on the server, thereby reclaiming the usefulness of the channels.
The spam can be colored dark gray so that it's easy to ignore (and also so that you can see what the addon is catching), or can be hidden completely. You can reset the filter altogether which clears it's memory and starts it from scratch - allowing you to see all new messages that appear (once) as the filter restarts recording what has been sent, or just depend on the gapping value to show repeated messages every XX seconds. The addon has a default setting to hide all spam; to change to 'color' mode use " /st color " and to change back to hiding spam use " /st hide ". You can also turn off the fuzzy match filter so that only exact matches count, using "/st nofuzzy". Turn it back on using "/st fuzzy". And you can turn on filtering of messages containing Chinese, Japanese or Korean characters with "/st cblock" and off again with "/st nocblock" - default is off.
Credit goes to Yewbacca's ASSFilter addon, which was used as a base for some of the code here.
12/05/2009 - Initial Release
12/07/2009 - Update to handle a potential problem with the way that LUA handles comparisons with uninitialized table elements on different WoW clients, thus potentially creating an "always filter" condition on some clients.
12/08/2009 - Updated to game version 3.3.0
01/03/2010 - Patched a bug whereby the filter was firing for each chat window opening, thus every window other than General was getting marked as a duplicate. For some people's setup this caused a problem. Simple fix was to filter messages after they have been seen 7 times, which is the number of times this filter is called for each message. This may require a more elegant solution in the future.
01/07/2010 - Implemented the more elegant solution to resolve above problem, using an event handler. Added gapping capability to allow repeated messages to be shown at a user-specifiable frequency (called the gapping value). Default gap is 600 seconds between repeated messages. Added a variable updating code to automatically roll saved variables forward from previous versions.
02/03/2010 - Implemented the fuzzy match filter to catch very similar messages, usually as a result of trying to defeat SpamThrottle. Made this an option so that users can require an exact match. Also added the /y channel for filtering, since some players were trying to defeat SpamThrottle by using the /y channel in Dalaran.
16/10/2010 - Updated for patch 4.0.1. Note that this is a working version, but point updates may be required to fix little things here and there if any issues are uncovered.
16/10/2010 - Re-upload to fix file naming problem.
03/04/2011 - Updated the game version applicability (no changes needed)
26/04/2011 - Updated to game version 4.1.
30/04/2011 - Fixed a minor error in the TOC file on the version
30/11/2011 - Updated to game version 4.3
28/08/2012 - Updated to game client version 5.0.4
06/02/2013 - Updated to game client version 5.1
03/04/2013 - Updated to game client version 5.2
27/05/2013 - Updated to game client version 5.3
03/01/2013 - Uploaded to game client version 5.4.x
18/02/2014 - Added optional Chinese/Japanese/Korean character block. Default is off.
|File Name||Release Type||Game Version||Downloads||Date|