function onStepIn(cid, item, position, fromPosition)
local createpos = {x=101, y=118, z= 7}
local topos = {x=99, y=122, z= 7}
if isPlayer(cid) == TRUE then
doCreateTeleport(1387, topos, createpos)
doSendMagicEffect(position, CONST_ME_HITBYFIRE)
end
return TRUE
end
function onStepOut(cid, item, position, fromPosition)
local telePos = {x=101, y=118, z= 7, stackpos=1}
local getTele = getThingFromPos(telePos)
if isPlayer(cid) == TRUE then
doRemoveItem(getTele.uid, 1)
end
return TRUE
end