function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerLevel(cid) >= 2 then
if getCreaturePosition(cid).y < toPosition.y then
doTeleportThing(cid, {x=toPosition.x,y=toPosition.y+1,z=toPosition.z}, TRUE)
else
doTeleportThing(cid, {x=toPosition.x,y=toPosition.y-1,z=toPosition.z}, TRUE)
end
else
doPlayerSendCancel(cid, "You need level 2 to pass.")
end
return TRUE
end