hello ppl recently someone hacked 1 of my operators account and he unreged users and after that he kicked / banned all the hub. is there any script that it will not allow mass hub kicks ???
can t wait your replies =)
have a good day
any answers ???
hi m8
give this a try ...
---Mass Kick Blocker
---By ??????Hawk?????? 14-08-2005
bot_name1 = "KickBlock"
Users = {}
function Main()
SetTimer(20000) --// 20 second timeout on command
StartTimer()
end
function OnTimer()
Users = {}
end
OpDisconnected = UserDisconnected
function UserDisconnected(curUser)
if Users[curUser.sName] then
Users[curUser.sName] = nil
end
end
function KickArrival(user, data)
data = string.sub(data,1,string.len(data)-1)
local _,_,Cmd = string.find( data, "(%S+).*" )
if Cmd == "$Kick" and Users[user.sName] and user.bOperator then
user:SendData(bot_name1,"Please Slow your Kicking down")
return 1
elseif Cmd == "$Kick" and user.bOperator and not Users[user.sName] then
Users[user.sName] = 1
end
end
??????Hawk??????
tnx a lot hawk