local level = 200
local pos = {x = 1000, y = 1000, z = 7}
function onAdvance(cid, skill, oldLevel, newLevel)
if getPlayerLevel(cid) => level then
if getPlayerStorageValue(cid, 1421) == -1 then
doTeleportThing(cid, pos)
doPlayerSetStorageValue(cid, 1421, 1)
end
return true
end