------Talkactions Oracle. BY Master and God cronos -----Visit http://www.otservhispano.com----
function onSay(cid, words, param)
ciudad = {x=1000, y=1000, z=7}
voc = 1
queststatus = getPlayerStorageValue(cid,oracle)
oracle = 4000
n = math.random(1,200)
if getPlayerLevel(cid) < 8 then
doPlayerSendTextMessage(cid,22,"Sorry, you can't pass to main you are down level than 8.")
return 1
end
if getPlayerLevel(cid) >= 8 or queststatus == -1 then
setPlayerStorageValue(cid,oracle,1)
doTeleportThing(cid,ciudad)
doSendMagicEffect(ciudad,2)
doPlayerSetVocation(cid,voc)
doPlayerSendTextMessage(cid,22,"Ahora eres un mago.")
doPlayerSetMasterPos(cid,ciudad)
doSendAnimatedText(getPlayerPosition(cid), "Mago", n)
else
doPlayerSendTextMessage(cid,22,"Sorry you may be chose your vocation.")
end
end