function onAdvance(cid, skill, oldlevel, newlevel)
if getPlayerLevel(cid) == 8 and getPlayerStorageValue(cid, 90900) == -1 then
setPlayerStorageValue(cid, 90900, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Congratulations ".. getCreatureName(cid) ..", you have reached level 8 ! Please go visit The Oracle!")
end
return TRUE
end