Find
You are looking at a command called teleport
goto {object}
Teleports you into the same location as the named object, anywhere.
Created by
wolis
, last updated 25 Jul 2012
Code
get $pretext,$target in $loc;
if $target > 0 then moveme else try2;
##try2:
get $target;
if $target > 0 then checkhide else fail;
##checkhide:
if $target's pose like "hid" then end else moveme;
##moveme:
clear $actor,all;
set $actor's loc to $target's loc;
say 'leaves',"[$actor] dissapears in a puff of smoke";
msg $loc,$actor,0,0,'force',"force:look $loc";
var $loc to $target's loc;
say 'arrives',"[$actor] appears out of thin air!";
look $loc;
msg $loc,$actor,0,0,'force',"force:look $loc";
refresh $actor;
##end:
var $target to 0;