local pos = {x = 1000, y = 1000, z = 7}
function onStepIn(cid, item, itemEx, frompos, topos)
if not doPlayerRemoveItem(cid, itemid, amount) then
doPlayerSendCancel(cid, "You dont have the coins")
doTeleportThing(cid, fromPos, true)
return false
else
doTeleportThing(cid, pos)...