Quantcast

Fix black/white list documentation

Erik L. Vonderscheer [11-13-10 - 20:57]
Fix black/white list documentation
Filename
Docs/default-lists.txt
diff --git a/Docs/default-lists.txt b/Docs/default-lists.txt
index b5610b1..8d6ba5e 100644
--- a/Docs/default-lists.txt
+++ b/Docs/default-lists.txt
@@ -2,32 +2,29 @@ TradeFilters default Black/White lists:

 ##White List##:
 <<code php>>
-TRADE = {
-  FILTER1 = "[bB][uU][yY][iI][nN][gG]",
-  FILTER10 = "[lL][fF] [pP][oO][rR][tT]",
-  FILTER2 = "[wW][tT][bBsStT]",
-  FILTER3 = "[lL][fF][wWeE]",
-  FILTER4 = "[lL][fF] [eE][nN][cC][hH][aA][nN][tT]",
-  FILTER5 = "[lL][fF] [jJ][cC]",
-  FILTER6 = "AH",
-  FILTER7 = "looking for work",
-  FILTER8 = "lockpick",
-  FILTER9 = "[sS][eE][lL][lL][iI][nN][gG]",
+L.WHITELIST = {
+	WLIST1 = "enchant:%d+[^%a%d]",
+	WLIST2 = "item:%d+[^%a%d]",
+	WLIST3 = "spell:%d+[^%a%d]",
+	WLIST4 = "trade:%d+[^%a%d]",
+	WLIST5 = "achievement:%d+[^%a%d]",
+	WLIST6 = "quest:%d+[^%a%d]",
 }
 <</code>>

 ##Black List##:
 <<code php>>
-BASE = {
-  FILTER1 = "[lL][fF]%d[mM]?",
-  FILTER2 = "[lL][fF][mM]?",
-  FILTER3 = "[lL][fF][gG]",
-  FILTER4 = "2[vV]2",
-  FILTER5 = "3[vV]3",
-  FILTER6 = "5[vV]5",
-  FILTER7 = "[lL][fF] [dD][pP][sS]",
-  FILTER8 = "[lL][fF] [tT][aA][nN][kK]",
-  FILTER9 = "[lL][fF] [hH][eE][aA][lL][eE][rR]",
+L.BLACKLIST = {
+	BLIST1 = "%[.*%].*rectum",
+	BLIST10 = "%[.*%].*%[dirge%]",
+	BLIST2 = "rectum.*%[.*%]",
+	BLIST3 = "%[.*%].*anal",
+	BLIST4 = "anal.*%[.*%]",
+	BLIST5 = "%[.*%].*in.*bed",
+	BLIST6 = "in.*bed.*%[.*%]",
+	BLIST7 = "%[willy%].*%[.*%]",
+	BLIST8 = "%[.*%].*%[willy%]",
+	BLIST9 = "%[dirge%].*%[.*%]",
 }
 <</code>>