Hi
--Censor Bot created by SyMteX 08.01.2003
botname = "Agata"
trigs = { ["pizd"]=1,["kurw"]=2,["jeb"]=3,
["suk"]=4,["pierd"]=5,["chuj"]=6,
["kutas"]=7,["szmato"]=8
}
function Main()
frmHub:RegBot(botname)
end
function DataArrival(user, data)
if (not user.bOperator) then
if (( strsub(data, 1, 1) == "<" ) or ( strsub(data, 1, 4) == "$To:" )) then
for key,a in trigs do
if( strfind( strlower(data), key) ) then
SendToAll( botname, user.sName.." zostal rozlaczony za przeklinanie." )
user:Disconnect()
end
end
end
end
end
you'd like it to warn the user in mainchat or private message? instead of disconnect the user. simply. " It possible ??
It's not working :( Convert him but it;s styl nothing, I've PtokaX DC Hub 0.3.2.6 TestDrive 4.99 ,maby ony edit this scrip can help ... :(
Thats an old version of ptokax :( .... if i was you i would upgrade to latest one get from here (http://www.ptokax.org)
Then the script Mutor posted will work fine :D
Yea its workin but Censor is work but my old script not orking so i convert they to LUA 5 and still nothing WHY ??
your other scripts need changing too .... has your old hub was using lua4 and the new hub use's lua5
You need to replace them with converted 1s :D
Search the forum to find all ... if not converted yet ask and im sure someone will help you out 8)