• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

If disconnected (ip: 0.0.0.0) do teleport.

Wezza

lua nOOb
Joined
May 31, 2008
Messages
2,278
Reaction score
31
title says much of it;

if player gets disconnected more likely IP becomes (0.0.0.0), I want him to be teleported to the NEAREST protected zone, (excluding house zones)

TFS 0.3.5, crying damson (8.50 version)
 
Not so good, since when the player do Exit, without longing off, it automatically counts as 0.0.0.0 you be giving free tp.
 
I never asked whether its good or not, modifications can be done later on, (If having skull, teleport = false etc)

I'm new at scripting guys but this is the idea of what I came to;

Code:
if playerskull < 1 AND ipaddress = 0.0.0.0 then
doTeleportThing(cid, pos)
 
Back
Top