local pos = {x=, y=, z=, stackpos=253} -- pos here !!! stackpos MUSt be 253!
function onUse(cid, ...) -- or w/e u use
local thing = getThingfromPos(pos)
if(isPlayer(thing.uid) == TRUE) then
doTeleportThing(thing.uid, tppos)
end
end