theres a do_teleport() proc that handles everything you need to do for teleportation.