BadGoldSpammer Enhancements

BadGoldSpammer is a great tool but is basically just a list of regex rules. I’ve created this post to post my enhancements for BGS to limit spam as it comes in on ESO (ElderScrollsOnline).

In the BadGoldSpammer.lua file there is a part:

-- www...GOLD...com
local found = string.find(
text,
"[wWV]+%.%w*[gG][oO0][lL1][dD]%w*%.[cC][oO0][mM]")

After it, add the following lines to trap more spam:

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

Comments are closed.