myDC.ru

Çäðàâñòâóéòå, ãîñòü ( Âõîä | Ðåãèñòðàöèÿ )

 
 
Îòâåòèòü â äàííóþ òåìóÍà÷àòü íîâóþ òåìó

> ÀíòèÌÀÒ

Òåãè
Íåò òåãîâ äëÿ ïîêàçà
AURUM0301
ñîîáùåíèå 3.7.2011, 0:45
Ñîîáùåíèå #1


Àáñîëþòíûé íîâè÷îê


Ãðóïïà: Ïîëüçîâàòåëè
Ñîîáùåíèé: 5
Ðåãèñòðàöèÿ: 2.7.2011
Ïîëüçîâàòåëü ¹: 9 420
Ñïàñèáî ñêàçàëè: 0 ðàç




åñòü êîä àíòèìàòà
ñìîòðè ïîä íèì
--[[
Ñêðèïò àíòèðåêëàìû 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][Õõ][ !%?*_+-=~`@$^&'\|/][ÓóYy][ !%?*_+-=~`@$^&'\|/][ÉéÈèÅåEeßÿ]+",
"^[Õõ][ !%?*_+-=~`@$^&'\|/][ÓóYy][ !%?*_+-=~`@$^&'\|/][ÉéÈèÅåEeßÿ]+$",
"[%s%p][Õõ][ !%?*_+-=~`@$^&'\|/][ÓóYy][ !%?*_+-=~`@$^&'\|/][ÉéÈèÅåEeßÿ]+$",
"^[Õõ][ !%?*_+-=~`@$^&'\|/][ÓóYy][ !%?*_+-=~`@$^&'\|/][¨¸ÅåEe][ !%?*_+-=~`@$^&'\|/][ÂâB][ !%?*_+-=~`@$^&'\|/][%s%p]",
"[%s%p][Õõ][ !%?*_+-=~`@$^&'\|/][ÓóYy][ !%?*_+-=~`@$^&'\|/][¨¸ÅåEe][ !%?*_+-=~`@$^&'\|/][ÂâB][ !%?*_+-=~`@$^&'\|/][%s%p]",
"^[Õõ][ !%?*_+-=~`@$^&'\|/][ÓóYy][ !%?*_+-=~`@$^&'\|/][¨¸ÅåEe][ !%?*_+-=~`@$^&'\|/][ÂâB]+$",
"[%s%p][ÕõXx][ !%?*_+-=~`@$^&'\|/][ÓóYy][ !%?*_+-=~`@$^&'\|/][¨¸ÅåEe][ !%?*_+-=~`@$^&'\|/][ÂâB]+$",
"^[ÕõXx][ !%?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*_+-=~`@$^&'\|/][Çç3][ !%?*_+-=~`@$^&'\|/][Ää][ !%?*_+-=~`@$^&'\|/][ÎîÓóOoYy][ !%?*_+-=~`@$^&'\|/][ÉéÍíÑñHCc]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][Èè][ !%?*_+-=~`@$^&'\|/][Çç3][ !%?*_+-=~`@$^&'\|/][Ää][ !%?*_+-=~`@$^&'\|/][Þþ][ !%?*_+-=~`@$^&'\|/][ÊêKk]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][Èè][ !%?*_+-=~`@$^&'\|/][Çç3][ !%?*_+-=~`@$^&'\|/][Ää][ !%?*_+-=~`@$^&'\|/][ÀàÎîAaOo][ !%?*_+-=~`@$^&'\|/][Áá][ !%?*_+-=~`@$^&'\|/][ÎîOo][ !%?*_+-=~`@$^&'\|/][Ëë]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][Èè][ !%?*_+-=~`@$^&'\|/][Ää][ !%?*_+-=~`@$^&'\|/][ÀàÎîAaOo][ !%?*_+-=~`@$^&'\|/][ÐðPp]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][ÈèÅåEe][ !%?*_+-=~`@$^&'\|/][Ää][ !%?*_+-=~`@$^&'\|/][ÐðPp][ !%?*_+-=~`@$^&'\|/][Èè][ !%?*_+-=~`@$^&'\|/][Ëë][ !%?*_+-=~`@$^&'\|/][ÀàÛûÓóÎîÅåAaYyOoEeAa]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][ÈèÅåEe][ !%?*_+-=~`@$^&'\|/][Ää][ !%?*_+-=~`@$^&'\|/][ÎîÀàÅåOoAaEe][ !%?*_+-=~`@$^&'\|/][ÐðPp][ !%?*_+-=~`@$^&'\|/][ÀàAa][ !%?*_+-=~`@$^&'\|/][ÑñÇç3Cc]+",
"^[Ïï][ !%?*_+-=~`@$^&'\|/][ÅåEe][ !%?*_+-=~`@$^&'\|/][Ää][ !%?*_+-=~`@$^&'\|/][Èè][ !%?*_+-=~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`@$^&'\|/][Ää]+",
"^[Ff][ !%?*_+-=~`@$^&'\|/][Uu][ !%?*_+-=~`@$^&'\|/][Cc][ !%?*_+-=~`@$^&'\|/][Kk]+",
"[%s%p][Ff][ !%?*_+-=~`@$^&'\|/][Uu][ !%?*_+-=~`@$^&'\|/][Cc][ !%?*_+-=~`@$^&'\|/][Kk]+",
"[ÄäDd][ !%?*_+-=~`@$^&'\|/][ÎîOo][ !%?*_+-=~`@$^&'\|/][ÒòTt][ !%?*_+-=~`@$^&'\|/][ÀàAa]+",
"[Ïï][ !%?*_+-=~`@$^&'\|/][ÎîOo][ !%?*_+-=~`@$^&'\|/][ÕõXx][ !%?*_+-=~`@$^&'\|/][Óó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



íóæíî äîáàâèòü ðàçíûå âàðèàöèè ñëîâà "äîòà". êàê ýòî ìîæíî ñäåëàòü. ÿ òàì äîïèñàë "[ÄäDd][ !%?*_+-=~`@$^&'\|/][ÎîOo][ !%?*_+-=~`@$^&'\|/][ÒòTt][ !%?*_+-=~`@$^&'\|/][ÀàAa]+", íî îíî íå ðàáîòàåò. ïîìîãèòå ïîæàëóéñòà.
Go to the top of the page
+Quote Post
Àðò¸ì
ñîîáùåíèå 3.7.2011, 7:12
Ñîîáùåíèå #2


Íàðóòî íà àâàòîðêå
***********

Ãðóïïà: Ïîëüçîâàòåëè
Ñîîáùåíèé: 2 606
Ðåãèñòðàöèÿ: 11.10.2008
Èç: Õàðüêîâà
Ïîëüçîâàòåëü ¹: 771
Ñïàñèáî ñêàçàëè: 774 ðàçà




Òàê ëó÷øå áóäåò bad_smile.gif , shocked.gif íî ìàñêà ýòî íå÷òî... å¸ ñîêðàòèòü ìîæíî äî 6-òè ñëîâ, à ëîâèòü áóäåò âñ¸ ÷òî â ýòîé óæàñíîé ìàñêå...
Êîä
--[[
Ñêðèïò àíòèðåêëàìû 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 = {
"^[Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[ÉéÈèÅåEeßÿ]+",
"[%s%p][Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[ÉéÈèÅåEeßÿ]+",
"^[Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[ÉéÈèÅåEeßÿ]+$",
"[%s%p][Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[ÉéÈèÅåEeßÿ]+$",
"^[Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[¨¸ÅåEe]%s*%p*%s*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][èÈåÅ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


Ñïàñèáî ñêàçàëè:
Go to the top of the page
+Quote Post
AURUM0301
ñîîáùåíèå 3.7.2011, 9:25
Ñîîáùåíèå #3


Àáñîëþòíûé íîâè÷îê


Ãðóïïà: Ïîëüçîâàòåëè
Ñîîáùåíèé: 5
Ðåãèñòðàöèÿ: 2.7.2011
Ïîëüçîâàòåëü ¹: 9 420
Ñïàñèáî ñêàçàëè: 0 ðàç




òûö
Ñêðèïò àíòèðåêëàìû 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 = {
"^[Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[ÉéÈèÅåEeßÿ]+",
"[%s%p][Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[ÉéÈèÅåEeßÿ]+",
"^[Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[ÉéÈèÅåEeßÿ]+$",
"[%s%p][Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[ÉéÈèÅåEeßÿ]+$",
"^[Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[¨¸ÅåEe]%s*%p*%s*[ÂâB]%s*%p*%s*[%s%p]",
"[%s%p][Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[¨¸ÅåEe]%s*%p*%s*[ÂâB]%s*%p*%s*[%s%p]",
"^[Õõ]%s*%p*%s*[ÓóYy]%s*%p*%s*[¨¸ÅåEe]%s*%p*%s*[ÂâB]+$",
"[%s%p][ÕõXx]%s*%p*%s*[ÓóYy]%s*%p*%s*[¨¸ÅåEe]%s*%p*%s*[ÂâB]+$",
"^[Õ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Å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[/code]



à ìîæíî ïîÿñíèòü ÷òî îáîçíà÷àåò íàáîð ýòèõ ñèìâîëîâ " %s*%p*%s* "???? à òî ÿ íåäàâíî (ïàðó äíåé íàçàä) çàâåë õàá... íåäàâíî ïðèêîñíóëñÿ ê LUA....
Go to the top of the page
+Quote Post
Àðò¸ì
ñîîáùåíèå 3.7.2011, 9:33
Ñîîáùåíèå #4


Íàðóòî íà àâàòîðêå
***********

Ãðóïïà: Ïîëüçîâàòåëè
Ñîîáùåíèé: 2 606
Ðåãèñòðàöèÿ: 11.10.2008
Èç: Õàðüêîâà
Ïîëüçîâàòåëü ¹: 771
Ñïàñèáî ñêàçàëè: 774 ðàçà




AURUM0301, íå íóæíî ìíå êîä ñêðèïòà ïðèêëàäûâàòü!
Öèòàòà
%p => ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
%s => \t \n \v \f \r <space>

Çäåñü ìîæåøü ïî÷èòàòü. big_smile.gif


Ñïàñèáî ñêàçàëè:
Go to the top of the page
+Quote Post
AURUM0301
ñîîáùåíèå 3.7.2011, 9:43
Ñîîáùåíèå #5


Àáñîëþòíûé íîâè÷îê


Ãðóïïà: Ïîëüçîâàòåëè
Ñîîáùåíèé: 5
Ðåãèñòðàöèÿ: 2.7.2011
Ïîëüçîâàòåëü ¹: 9 420
Ñïàñèáî ñêàçàëè: 0 ðàç




Àðò¸ì, à íå ìîã áû òû ìîäèôèöèðîâàòü ýòîò ñêðèïò, ÷òîá îí è íèêè òîæ ïðîâåðÿë???? È íà ýòîì áóäåò ïîêà ÷òî âñå big_smile.gif.
Go to the top of the page
+Quote Post
Àðò¸ì
ñîîáùåíèå 3.7.2011, 10:41
Ñîîáùåíèå #6


Íàðóòî íà àâàòîðêå
***********

Ãðóïïà: Ïîëüçîâàòåëè
Ñîîáùåíèé: 2 606
Ðåãèñòðàöèÿ: 11.10.2008
Èç: Õàðüêîâà
Ïîëüçîâàòåëü ¹: 771
Ñïàñèáî ñêàçàëè: 774 ðàçà




Êîä
tMATNicks = {
    ["ÁËß"] = true,
}

function ValidateNickArrival(tUser)
    if tMATNicks[tUser.sNick] then
        Core.SendToUser(tUser, "*** Âàì çàïðåùåí âõîä íà õàá, çà ìàò â íèêå!")
        Core.Disconnect(tUser)
    end
end

äàëüøå ñàì ïðîáóé big_smile.gif


Ñïàñèáî ñêàçàëè:
Go to the top of the page
+Quote Post

Îòâåòèòü â äàííóþ òåìóÍà÷àòü íîâóþ òåìó
1 ÷åë. ÷èòàþò ýòó òåìó (ãîñòåé: 1, ñêðûòûõ ïîëüçîâàòåëåé: 0)
Ïîëüçîâàòåëåé: 0

Collapse

> Ïîõîæèå òåìû

  Òåìà Îòâåòîâ Àâòîð Ïðîñìîòðîâ Ïîñëåäíåå ñîîáùåíèå
No new Topic has attachmentsÀíòèðåêëàìà+àíòèìàò
API2
55 Setuper 75 292 2.7.2019, 17:59 Ïîñë. ñîîáùåíèå: Àðò¸ì
No new Topic has attachmentsÀíòèìàò Èç Õóááû
API2
73 Wariner 94 534 31.1.2013, 18:44 Ïîñë. ñîîáùåíèå: Yamakasi
No New Posts Topic has attachmentsÀíòèìàò
íå êèêàåì, à ñòàâèì ãàã
0 MaxFox 7 035 30.11.2012, 10:41 Ïîñë. ñîîáùåíèå: MaxFox
No new Topic has attachmentsÀíòèìàò
Ñêðèïò àíòèìàòà ñ çàãëóøêîé
29 Drakula 37 591 9.1.2012, 18:28 Ïîñë. ñîîáùåíèå: Àðò¸ì
No New Posts Ñêðèïò àíòèìàò è àíòèðåêëàìà ñ áàçîé â Mysql
1 Vizunchik 7 228 7.12.2011, 20:17 Ïîñë. ñîîáùåíèå: Ksan
No New Posts Àíòèìàò !
2 CrazyKiller 8 796 3.8.2011, 14:52 Ïîñë. ñîîáùåíèå: CrazyKiller
No New Posts Topic has attachmentsÀíòèìàò
API1 | Ñêðèïò àíòèìàòà
9 bot9ra 16 853 17.10.2010, 15:04 Ïîñë. ñîîáùåíèå: -Alex-
No new Topic has attachmentsÀíòèìàò
Çàìåíà ìàòà íà ñëîâî
21 Drakula 25 549 16.9.2010, 13:31 Ïîñë. ñîîáùåíèå: SmolCity
No New Posts Îò: Àíòèìàò
Îò òåìû ñ ID: 3265
3 Ksan 6 996 11.9.2010, 20:07 Ïîñë. ñîîáùåíèå: Don_Kocha
No New Posts Ïîìîãèòå íàéòè!ÀíòèÌàò
0 Ò¸ìè÷ 5 341 6.4.2010, 20:13 Ïîñë. ñîîáùåíèå: Ò¸ìè÷
Closed Topic has attachmentsÀíòèìàò
ïîìîãèòå ïåðåäåëàòü åãî!!!
2 Vladimir_71_RUS 6 537 1.4.2010, 11:46 Ïîñë. ñîîáùåíèå: Vladimir_71_RUS
No New Posts Topic has attachmentsÀíòèÌàò ÷òîáû â ËÑ ïðåäóïðåäæäàëî þçåðà
à ïîñëå 3 ïðåäóïðåæäåíèé - áàí íà 5-10 ìèíóò
5 Ò¸ìè÷ 10 240 17.3.2010, 21:28 Ïîñë. ñîîáùåíèå: Àðò¸ì
No new Topic has attachmentsÀíòèðåêëàìà/àíòèìàò (api 2)
API2 | Ïðîâåðÿåò ëè÷êè è ÷àò è ìîæíî âûáðàòü íàêàçàíèå
43 D'aspid 63 953 25.2.2010, 12:21 Ïîñë. ñîîáùåíèå: kc_duke
No New Posts Topic has attachmentsÀíòèìàò
2 random name 7 402 10.1.2010, 13:37 Ïîñë. ñîîáùåíèå: Saymon21
No New Posts Àíòèìàò
6 crake 10 471 21.11.2009, 2:14 Ïîñë. ñîîáùåíèå: crake

 



RSS Ñåé÷àñ: 23.11.2024, 8:14