local newpos = {x=1234, y=1234, z=7}
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if isPlayer(cid) then
doSendMagicEffect(position, CONST_ME_TELEPORT)
doTeleportThing(cid, newpos)
doSendMagicEffect(newpos, CONST_ME_TELEPORT)
end
return true
end