Download
(1Kb)
Download
Updated: 04-19-09 05:03 PM
Pictures
File Info
Updated:04-19-09 05:03 PM
Created:unknown
Downloads:3,682
Favorites:4
MD5:

Spam Eraser

Version: 3.1
by: Rygarth [More]

A simple low memory addon that erases any line of text in the trade channel that has these words anywhere in it.

"Murloc" "Norris" "www" "anal"

THIS ONLY BLOCKS TRADE CHANNEL. Does NOT block guild chat or private messages, you will still get any messages from your friends.

I wrote this mod to deal with the murloc movie and song title spam in trade and to deal with the gold sellers as well as the Chuck Norris spam.

This mod will let you read and trade goods with ease in the trade channel and ignore all that spam!!

Email me at [email protected] with any questions, concerns, or requests for this mod.

Thanks for using the mod!

Updated to new release code

added word "anal"

changed TOC
Optional Files (0)


Post A Reply Comment Options
Unread 11-06-08, 06:17 PM  
Incarnate
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 4
Uploads: 1
Awesome, I've been looking for a really simple spam mod, and this fits the bill. Easy to edit the lua for other words too, hurray
Report comment to moderator  
Reply With Quote
Unread 04-28-09, 05:55 AM  
Rossee
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Eraser in Whisper

Is it possible to erase spam from whispers?

Code:
local lOriginalChatFrame_OnEvent;

function SpamEraser_OnLoad()
	this:RegisterEvent("CHAT_MSG_CHANNEL");
    
	lOriginalChatFrame_OnEvent = ChatFrame_OnEvent;
	ChatFrame_OnEvent = SpamEraser_ChatFrame_OnEvent;
end

function SpamEraser_OnEvent(event)
end

function SpamEraser_ChatFrame_OnEvent(event)
    if ( strsub(event, 1, 16) == "CHAT_MSG_CHANNEL" ) then
        -- event: CHAT_MSG_CHANNEL
        -- arg1: message
        -- arg2: author
        -- arg3: language
        -- arg4: channel name
        
        if ( string.find(string.lower(arg1), "murloc") and string.find(arg4, "Trade") ) then
            return false
        end
        if ( string.find(string.lower(arg1), "norris") and string.find(arg4, "Trade") ) then
            return false
        end
        if ( string.find(string.lower(arg1), "www") and string.find(arg4, "Trade") ) then
            return false
        end
    end

    lOriginalChatFrame_OnEvent(event)
        
    return true
end
Report comment to moderator  
Reply With Quote
Unread 06-25-10, 10:04 AM  
Balgrim
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
add word

Can you add "gbank"?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.