ID:174858
 
How can I make it check if the mob/player a player want to teleport to is online before teleporting?
mob/admin/verb/Teleport(mob/M in world)
src.loc = M.loc



That way you can only teleport to mobs in the world. If you want to teleport to only players:

mob/admin/verb/Teleport(mob/M in world)
if(M.client)
src.loc = M.loc

<-Airjoe->