Quantcast
Download
(1 Kb)
Download
Updated: 04/01/14 01:01 PM
Compatibility:
Live (1.0)
Updated:04/01/14 01:01 PM
Created:04/01/14 01:01 PM
Downloads:2,167
Favorites:2
MD5:
BadGoldSpammer
Version: 1
by: Lodur [More]
Simple addon to auto ignore gold spammers.

This Addon will only work for English gold URLs.
Optional Files (0)


Post A Reply Comment Options
Unread 04/10/14, 04:33 PM  
Agathezol

Forum posts: 0
File comments: 2
Uploads: 0
even more spammers

if found == nil then
found = string.find( text, "[wWV]+%,%w*[gG][oO0][lL1][dD]%w*%,[cC\(<][oO0][mM]")
end

if found == nil then
found = string.find( text, "%w*[wWV][oO0][[wWV][gG][lL1][.,][cC\(<][oO0][mM]")
end

if found == nil then
found = string.find( text, "%w*[gG][aA@][iI1][mM][iI1][mM][.,][cC\(<][oO0][mM]")
end

if found == nil then
found = string.find( text, "%w*[kK][aA@][Yy][Gg]%w[Dd][Ss$][.,][cC\(<][oO0][mM]")
end

if found == nil then
found = string.find( text, "[vwVW]*[.,][\(\)oO0]*[kK][aA@][Yy][Gg][\(\)oO0]*[Dd][Ss$]")
end
Report comment to moderator  
Reply With Quote
Unread 04/10/14, 10:50 AM  
Agathezol

Forum posts: 0
File comments: 2
Uploads: 0
Re: basic plugin

Originally Posted by BadOPCode
very straight forward plugin.
I changed the regex pattern to ([wWV]+%.%w*[gG][oO0][lL1][dD]%w*%.[cC][oO0][mM])|([\d]+\$)
as the dirt bag gold farmers don't ever seem to know which side the dollar sign goes on.
adding these two tests to the addon after the initial regex test will help catch more spammers:

if found == nil then
found = string.find( text, "[wWV]+%,%w*[gG][oO0][lL1][dD]%w*%,[cC\(<][oO0][mM]")
end

if found == nil then
found = string.find( text, "%w*[wWV][oO0][[wWV][gG][lL1][.,][cC\(<][oO0][mM]")
end
Report comment to moderator  
Reply With Quote
Unread 04/01/14, 02:43 PM  
BadOPCode

Forum posts: 0
File comments: 1
Uploads: 0
Thumbs up basic plugin

very straight forward plugin.
I changed the regex pattern to ([wWV]+%.%w*[gG][oO0][lL1][dD]%w*%.[cC][oO0][mM])|([\d]+\$)
as the dirt bag gold farmers don't ever seem to know which side the dollar sign goes on.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: