function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if(not isPlayer(cid)) then
return true
end
if(getPlayerLevel(cid) < 1000 and item.actionid == 5020) then
doTeleportThing(cid, lastPosition)
doPlayerSay(cid,'Quest jest od 1000 lvl...