--[[
Ñêðèïò àíòèðåêëàìû 1.1 íà îñíîâå ñêðèïòà ChatFilter V1.02 by KoYoT
Ñîâìåñòèìîñòü: ptokax 0.4.0.0, lua 5.13
by [fwx]Diver
Ïåðåäåëàíî è äîïîëíåíî [VHZ]ZmuriK
]]--
sBot = "ÀíòèÌàò" -- èìÿ áîòà
BotReg = 0 --ïîêàçûâàòü áîòà â ñïèñêå ïîëüçîâàòåëåé
BanMode = 3
-- 0 - ïåðìàíåíòíûé áàí ïî íèêó è IP
-- 1 - âðåìåííûé áàí ïî íèêó è IP. âðåìÿ çàäàåòñÿ â BanTime
-- 2 - êèê
-- 3 - òîëüêî ïðåäóïðåæäåíèå
BanTime = 5 -- âðåìÿ áàíà â ìèíóòàõ, äëÿ ðåæèìà 1
UserSay = 1 -- çàìåíÿòü ôðàçó ñ ìàòîì íà ñëó÷àéíîå âûðàæåíèå èç MessageToAll
text = "\r\n\t\tÏðåäóïðåæäåíèå: Âû íàðóøèëè ïðàâèëa õàáà è áóäåòå çàáàíåíû, åñëè ïðîäîëæèòå èñïûòûâàòü òåðïåíèå àäìèíèñòðàöèè õàáà.\r\."
text_to_op = " ïûòàëñÿ ñîîáùàòü â îáùèé ÷àò ñëåäóþùèþ ôðàçó:"
sByByText = "Âû áûëè çàáàíåíû çà ìàò!!!"
sReason = "Íàðóøåíèå ïðàâèë õàáà. Èùèòå äðóãîå ìåñòî äëÿ ìàòåðøèíû!"
-- Êîãî íóæíî ïðîâåðÿòü (1 - äà, 0 - íåò) --
CanDo = {
[-1] = 1, -- Íåçàðåãåñòðèðîâàííûé
[0] = 1, -- Ìàñòåð
[1] = 1, -- ÎÏ
[2] = 1, -- Âèï
[3] = 1, -- Çàðåãåñòðèðîâàííûé
[4] = 1, -- Ìîäåðàòîð
}
-- ×òî çàïðåùàåì
adverTable = {
"^[Õõ][ !%?*_+-=~`@$^&'\|/][ÓóYy][ !%?*_+-=~`@$^&'\|/][ÉéÈèÅåEeßÿ]+",
"[%s%p][Õõ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óYy]+",
"[ÂâB][ !%?*_+-=~`@$^&'\|/][Ûû][ !%?*_+-=~`@$^&'\|/][ÅåßÿEe][ !%?*_+-=~`@$^&'\|/][Áá][ !%?*_+-=~`@$^&'\|/][ËëÊêK][ !%?*_+-=~`@$^&'\|/][Èè]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][ÐðPp][ !%?*_+-=~`@$^&'\|/][ÎîOo][ !%?*_+-=~`@$^&'\|/][ÅåEe][ !%?*_+-=~`@$^&'\|/][Áá][ !%?*_+-=~`@$^&'\|/][ÀàAa][ !%?*_+-=~`@$^&'\|/][Ëë]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][ÎîÀàOoAa][ !%?*_+-=~`@$^&'\|/][ßÿÅåÈèEe][ !%?*_+-=~`@$^&'\|/][Áá][ !%?*_+-=~`@$^&'\|/][ÅåEe][ !%?*_+-=~`@$^&'\|/][ÍíH]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][ÎîÀàOoAa][ !%?*_+-=~`@$^&'\|/][ßÿÅåÈèEe][ !%?*_+-=~`@$^&'\|/][Áá][ !%?*_+-=~`@$^&'\|/][ÀàÓóÈèAaYy][ !%?*_+-=~`@$^&'\|/][ÒòT]+",
"[ÐðPp][ !%?*_+-=~`@$^&'\|/][ÀàAa][ !%?*_+-=~`@$^&'\|/][Çç3][ !%?*_+-=~`@$^&'\|/][ÚúÜü]*[ÅåÈèEe][ !%?*_+-=~`@$^&'\|/][Áá][ !%?*_+-=~`@$^&'\|/][ÀàAa][ !%?*_+-=~`@$^&'\|/][ÒòËëT]+",
"^[ÎîÀàOoAa][ !%?*_+-=~`@$^&'\|/][ÒòT][ !%?*_+-=~`@$^&'\|/][ÚúÜü]*[¨¸ÅåÈèEe][ !%?*_+-=~`@$^&'\|/][Áá]+",
"[%s%p][ÎîÀàOoAa][ !%?*_+-=~`@$^&'\|/][ÒòT][ !%?*_+-=~`@$^&'\|/][ÚúÜü]*[¨¸ÅåÈèEe][ !%?*_+-=~`@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-=~`@$^&'\|/][ÓóYy][ !%?*_+-=~`@$^&'\|/][Éé]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][ÐðPp][ !%?*_+-=~`@$^&'\|/][ÎîOo][ !%?*_+-=~`@$^&'\|/][Å娸Ee][ !%?*_+-=~`@$^&'\|/][Áá][ !%?*_+-=~`@$^&'\|/][Ûû]+",
"[Çç3][ !%?*_+-=~`@$^&'\|/][ÀàAa][ !%?*_+-=~`@$^&'\|/][Å娸Ee][ !%?*_+-=~`@$^&'\|/][Áá][ !%?*_+-=~`@$^&'\|/][Ûû]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][ÎîOo][ !%?*_+-=~`@$^&'\|/][ÕõXx][ !%?*_+-=~`@$^&'\|/][ÅåEe][ !%?*_+-=~`@$^&'\|/][ÐðPp]+",
"[ÓóYy][ !%?*_+-=~`@$^&'\|/][Å娸Ee][ !%?*_+-=~`@$^&'\|/][Áá][ !%?*_+-=~`@$^&'\|/][ÀàAaÎîOo][ !%?*_+-=~`@$^&'\|/][ÍíHÊêKk]+",
["õ ó é"]="õóé",
["á ë ÿ ä ü"]="áëÿäü",
"[ïÏ][èÈåÅeE][äÄ][pPðÐ]",
"[õÕxX][åÅeE][ðÐP]",
"[õÕxX][yYóÓ][éÉåÅeE¸¨ÿßþÞèÈuU]",
"[õÕxX][ _,.][yYóÓ][ _,.][éÉåÅeE¸¨ÿßþÞèÈuU]",
"[ïÏ][èÈåÅeE][äÄ][îÎoO0eEåÅaAàÀ][pPðÐ]",
"[ïÏpP][èÈåÅeE¸¨uUiI][çÇ3zZ][äÄdD]",
"[ïÏ][ _,.][èÈåÅeE¸¨uU][ _,.][çÇ3][ _,.][äÄ]",
"[çÇ3][aAàÀ][eE埨ÿßèÈuU][áÁ6]",
"[çÇ3][ _,.][aAàÀ][ _,.][eE埨][ _,.][áÁ6]",
"[eE埨ÿß][áÁ6][aAàÀeEåÅoOîÎyYóÓ][íÍHpPðÐòÒTëËøØ]",
"[eE埨][áÁ][ëËèÈuUHíÍûÛùÙàÀaA]",
"[áÁ6][ëË][ÿß]",
"[Ä][Î][Ò][À]",
"[áÁ6][ _,.][ëË][ _,.][ÿß]",
"[ÌìMm][yYóÓ][äÄdD][àÀaAèÈuUëË]",
"[ñÑcC][óÓyY][êÊkK][àÀaAèÈ]",
"[ãÃ][îÎàÀ][íÍ][äÄ][îÎ][íÍ]",
}
-- ×òî ðàçðåøàåì
safeTable = {
"ïñèõóé",
"îñêîðáëÿäü",
"ó÷åáà",
"ó÷¸áà",
"íåáû÷íûå",
}
MessageToAll = {
"Íàðîä, êòî õî÷åò âûïèòü ïèâà? Óãîùàþ.",
"Ó ìåíÿ ñåãîäíÿ ïðàçäíèê! Ïðîñòàâëÿþñü âñåì!",
"Ïîñòó÷èòå ìíå ïî ãîëîâå, ÷òîáû ÿ ïðîñíóëñÿ.",
"Àó, ãäå ÿ?",
"Íàðîä. Àó. Ãäå ÿ?",
"×òî çäåñü ïðîèñõîäèò?",
"Áîëüøå òàê ïèòü íå áóäó.",
"Õî÷ó áûòü âçðîñëûì.",
"Õî÷ó áûòü óìíûì.",
"Ïî÷åìó ó ìåíÿ óñû íå ðàñòóò?",
"Íà êàêóþ êíîïêó íóæíî íàæèìàòü ÷òîáû âûêëþ÷èòü êîìï?",
"àáûÐâàëÃ",
"Íàðîä. Êàêîå ñåãîäíÿ ÷èñëî?",
"Íàðîä. Êàêîé ñåãîäíÿ ìåñÿö?",
"Íå ïîíÿë.",
"Ìîè ìûñëè, ìîè ñêàêóíû.",
"Ðàçäîëáàé ÿ, ðàçäîëáàé.",
"Ïîðà ìåíÿòü êëàâèàòóðó.",
}
------------------------------[ Code Section ]------------------------------
function OnStartup()
if BotReg == 1 then
Core.RegBot(sBot, "", "", true)
end
PhrasLen = table.maxn(MessageToAll)
end
function ChatArrival(tUser,sData)
if CanDo[tUser.iProfile] == 0 then
return false
end
local s,e,msg = string.find(sData,"%b<>%s(.*)")
if checkForAdvertising(msg) then
if checkForSafe(msg) then
return false
end
Core.SendPmToOps(sBot, "*** "..tUser.sNick.." "..text_to_op.." "..msg)
if UserSay == 1 then
Core.SendToAll("<"..tUser.sNick.."> "..MessageToAll[math.random(PhrasLen)])
end
if BanMode == 0 then
Core.SendToUser(tUser,"<"..sBot.."> "..sByByText)
BanMan.Ban(tUser,sReason,sBot,true)
end
if BanMode == 1 then
Core.SendToUser(tUser,"<"..sBot.."> "..sByByText)
BanMan.TempBan(tUser,BanTime,sReason,sBot,true)
end
if BanMode == 2 then
Core.SendToUser(tUser,"<"..sBot.."> "..sByByText)
Core.Kick(tUser,sBot,sReason)
end
if BanMode == 3 then
Core.SendToUser(tUser,"<"..sBot.."> *** "..text)
end
collectgarbage("collect")
return true
end
end
function ToArrival(tUser,sData)
if CanDo[tUser.iProfile] == 0 then
return false
end
local s,e,msg = string.find(sData,"%b<>%s(.*)")
if checkForAdvertising(msg) then
if checkForSafe(msg) then
return false
end
Core.SendPmToOps(sBot, "*** "..tUser.sNick.." "..text_to_op.." "..msg)
if UserSay == 1 then
Core.SendToAll("<"..tUser.sNick.."> "..MessageToAll[math.random(PhrasLen)])
end
if BanMode == 0 then
Core.SendToUser(tUser,"<"..sBot.."> "..sByByText)
BanMan.Ban(tUser,sReason,sBot,true)
end
if BanMode == 1 then
Core.SendToUser(tUser,"<"..sBot.."> "..sByByText)
BanMan.TempBan(tUser,BanTime,sReason,sBot,true)
end
if BanMode == 2 then
Core.SendToUser(tUser,"<"..sBot.."> "..sByByText)
Core.Kick(tUser,sBot,sReason)
end
if BanMode == 3 then
Core.SendToUser(tUser,"<"..sBot.."> *** "..text)
end
collectgarbage("collect")
return true
end
end
function checkForAdvertising(msg)
for _,v in ipairs(adverTable) do
if string.find(msg, v) then
return true
end
end
return false
end
function checkForSafe(msg)
for _,v in ipairs(safeTable) do
if string.find(msg, v) then
return true
end
end
return false
end