/
local version = 6.7 |
local version = 6.8 |
sts_session_all = 0 |
sts_session_filtered = 0 |
sts_last_action = 0 |
sts_last_msg = -1 |
sts_last_msgtext = "" |
--local iw_ComplainChat = true |
sts_lang = "enUS" |
local f = CreateFrame("Frame", "STSFrame") |
sts_notify = "" |
sts_quiet = 1 |
STS_AddIgnore(select(2,...), "STS: ["..select(4,...).."] "..STS_ColoredNameLink(...)..": "..msg) |
sts_session_filtered = sts_session_filtered + 1 |
if spamfound > 2 then |
if STS_SV["settings"]["complainchat"] and spamfound > 2 then |
ComplainChat(select(11,...)) |
-- dcfa(select(2,...).." reported") |
end |
if STS_Find("Hquest:245%d%d:83","black") then |
STS_SV[STS_SV["language"][tignlist]]["blacklist"][STS_Find("Hquest:245%d%d:83","black")]="Hquest:245%d%d:8" |
end |
STS_SV["settings"]["CHAT_MSG_CHANNEL"] = {true, true, true, true, true, true, true, true, true, true} |
end |
STS_SV["settings"]["CHAT_MSG_CHANNEL"] = {true, true, true, true, true, true, true, true, true, true} |
if oldv <= 6.8 then |
STS_SV["settings"]["complainchat"] = true |
end |
sts_quiet = 0 |
return version |
end |
## Title: StopTradeSpam |
## Notes: Detect spam in trade-channel based on a blacklist and a whitelist, adding a trade-ignorelist. |
## Author: Meredy-Das Syndikat (EU) |
## Version: 0.6.7.wowi:revision |
## Version: 0.6.8.wowi:revision |
## eMail: zam@abwesend.de |
## DefaultState: Enabled |
## SavedVariables: STS_SV |