Hi guys,
Can anyone help with a script which will only allow "Active Mode" users in ?
-- Only active user script [NL]PUR 15OKt03
function DataArrival(user,data)
if strfind(data,"$MyINFO",1,1) then
if strfind(data, "M:P", 1, 1) then
user:Disconnect()
end
end
end
Brilliant thanx Pur... any chance you can add the funtion which although disconects them send them a message explaining why they are refused access ?
Thanx again man
Actually man dont worry about it. my network co- owner is a bit of a genius and did it..
-- Only active user script [NL]PUR 15OKt03
-- updated by Emp003 to redirect users using passive mode
Bot = "???K???????"
function DataArrival(user,data)
if not user.bOperator then
if strfind(data,"$MyINFO",1,1) then
if strfind(data, "M:P", 1, 1) then
user:SendPM(Bot, "You Are Being Redirected Because This Hub Is Active Mode Only")
user:SendPM(Bot, "Redirecting...")
user:SendData("$ForceMove "..frmHub:GetRedirectAddress())
end
end
end
end
good that it is working :)
Any chanche to know why passive users are not checked by bots/scripts?
Thank you for any answer
Robert
Can you make it that it doesent check regged users ??
dcgui's autosearch always seems to works in passive mode.
so even if they are active they get redirected by this script.
plop