can somone please help me with a skript that redirect if thay not regged to a specified hub ? we have a reghub but the should talk tom an su or op in the hub where they been redirected to to get pass
Hi,
Hope it helps...
--Requested by gizmo
--Made by nErBoS
sBot = "UnReg-REDIRECT"
redirectadd = "1.1.1.1" -- Address to redirect
function Main()
frmHub:RegBot(sBot)
end
function NewUserConnected(user, data)
if (user.iProfile == -1) then
user:SendData(sBot, "This Hub is only for registered users.")
user:SendData("$ForceMove "..redirectadd.."|")
end
end
Best regards, nErBoS
tnx =) works fine