function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
local level = 300
if (isPlayer(cid) and getPlayerLevel(cid) >= level)
return true
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only level " .. level .. " can pass.")
doTeleportThing(cid, fromPosition, true)
return true
end
end