Sorry for me bad english guys i am from Czech Republik,
can someone create a script in lua5 named Netlimiter DownBlock ?
I need this
When a user is connected and use netlimiter,
no kicks no bans, just block download :)
Can someone make it ?
Message:
U are using netlimiter, please disable him and then can u download...
:D
if its possible then it make security issue...
...and best for all that cant be done IMO
If can be done if.. :D
i know. Mutor. And respect man ;)
One more thing
I have this old script netlimiter
but she gives to user timeban.
Maybe convert ?
Replace the ban direction, whit a downblocker.
thx for reply
;)
Quote-- antinetlimiter for QuikThinker by bastya_elvtars
-- to LUA 5 converted on Earth
todo=2 -- 1 to disconnect, 2 to timeban, 3 to ban
timeban=60 -- in minutes
-- no edit below plz
OpConnected=NewUserConnected
function MyINFOArrival(curUser,data)
if curUser.sConnection then
if string.find(string.lower(data),"netlimiter") then
local what,doin=hasto(curUser)
curUser:SendData("Reno_Raines","Pouzivas netlimitera ktery je zde zakazan / You are using NetLimiter (netlimiter is here not akcepted !, now you are "..what)
SendToOps("Reno_Raines","*** Detekovan Netlimiter uzivatel "..curUser.sName.." znicen ...")
return doin
end
end
end
function hasto(curUser)
if todo == 1 then
return "disconnected.",curUser:Disconnect()
elseif todo == 2 then
return " papa na "..timeban.." minut.",curUser:TimeBan(timeban)
elseif todo == 3 then
return "banned.",curUser:Ban()
end
end
Thanks Mutor,
Respect.
100% working
many thank's mutor