function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if(not isPlayer(cid)) then
return true
end
if(getPlayerLevel(cid) < 300) then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You need level 300 to go through here.")
else
local destination = {x = 247, y = 659, z = 13}
doTeleportThing(cid, destination, true)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Enjoy Going where you are going.")
end
return true
end