local before, after = {x = 738, y = 700, z = 7}, {x = 743, y = 696, z = 7}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 1945 then
local pid = getTopCreature(before).uid
if isPlayer(pid) then
doTeleportThing(pid, after, false)
doSendMagicEffect(after...