function onStepIn(cid, item, position, fromPosition)
--- Config --
levelneeded = 8
place = {x=1000, y=1000, z=7}
if getPlayerLevel(cid) >= levelneeded then
doPlayerSetTown(cid, 2)
doTeleportThing(cid,place)
else
doPlayerSendTextMessage(getPlayer, 25, "You are not high enouph level!")
doTeleportThing(cid, fromPosition, TRUE)
end
return TRUE
end