Quantcast

update list

Ben Phelps [05-20-13 - 01:55]
update list
Filename
SimpleSpam.lua
SimpleSpam.toc
diff --git a/SimpleSpam.lua b/SimpleSpam.lua
index 725ea87..d64088a 100755
--- a/SimpleSpam.lua
+++ b/SimpleSpam.lua
@@ -7,8 +7,12 @@ SSBlocked = {

 }

+SSBlockedReason = {
+
+}
+
 SSLastMessages = {
-
+
 }


@@ -24,6 +28,8 @@ SS.blackList = {
 	"\194\163%d+.+%d+g", -- matches £9 10g
 	"%d+g.+\194\163%d+", -- matches 10g £9
 	"s.?k.?y.?p.?e?", -- matches skype under almost all obfuscation's
+	"s.?k.?p.?y.?e?", -- matches skype under almost all obfuscation's
+	"anal", -- anal [gtfo]
 }

 -- on english speaking realms, these characters are very very rare
@@ -40,15 +46,11 @@ SS.obfs = {

 -- guild spamming sucks
 SS.guildList = {
-  "guild",
-  "looking for",
   "recruiting",
   "recruit",
   "level 25",
   "L25",
-  "Level25",
-  "core",
-  "group"
+  "Level25"
 }

 -- words that could be bad, but also have a legit usage
@@ -89,10 +91,6 @@ SS.greyList = {
 	"ranking",
 	"arena",
 	"selling",
-	"t15",
-	"t14",
-	"s13",
-	"s12",
 	"best",
 	"get the",
 	"the best",
@@ -107,10 +105,19 @@ SS.greyList = {
 	"reins of the swift spectral tiger",
 	"vial of the sands",
 	"x-53 touring rocket",
-	-- other bop
+	-- other bop or achiv selling
 	"boe",
-	"cool"
-
+	"reliable",
+	"company",
+	"sell",
+	"service",
+	"services",
+	"shareing", -- lol they can't spell
+  "sharing",
+  "account",
+  "accounts",
+  "hot",
+  "transfer",
 }

 function SS.Check(sender)
@@ -174,6 +181,7 @@ function SS.SimpleSpam(self, event, msg, ...)
 	if (matchCount >= 3) then
 		if SS.Check(sender) == false and matchCount >= 4.5 then
 			table.insert(SSBlocked, sender)
+			SSBlockedReason[sender] = msgOrig
 			if reason then
 			  print("|cffBA2323Blocked spam from " .. sender .. ". " .. reason .. "|r")
 			else
diff --git a/SimpleSpam.toc b/SimpleSpam.toc
index 143d9db..a0a5a33 100755
--- a/SimpleSpam.toc
+++ b/SimpleSpam.toc
@@ -3,6 +3,6 @@
 ## Notes: Simple Gold Spam Blocker
 ## Version: 1.0.2
 ## Author: RealID Network#1601
-## SavedVariables: SSBlocked
+## SavedVariables: SSBlocked, SSEnglish

 SimpleSpam.lua
\ No newline at end of file