Va em data/talkaction/scripts e adicione um arquivo em formato lua e nomeio de tpromote e bote isso dentro:
function onSay(cid, words, param, channel)
local configs = {
cost = 20000,
level = 20
}
if isPremium(cid) then
if getPlayerLevel(cid) >= configs.level then
if getPlayerPromotionLevel(cid) < 1 then
if configs.cost <= 0 or doPlayerRemoveMoney(cid, configs.cost) then
setPlayerPromotionLevel(cid, 1)
else
doPlayerSendCancel(cid, "Voce nao tem o dinheiro suficiente que é " .. configs.cost .. " gold coins.")
end
else
doPlayerSendCancel(cid, "Voce ja é promoted.")
end
else
doPlayerSendCancel(cid, "Voce precisa ser level " .. configs.level .. " ou maior para adiquirir a promotion.")
end
else
doPlayerSendCancel(cid, "Voce precisa ser premium account para adiquirir a promotion.")
end
return TRUE
end
Depois va em talkaction.xml na pasta talkaction e bote essa linha:
<talkaction words="!promotion" event="script" value="tpromote.lua"/>
Pronto!


info
Grupo: Campones
Registrado: 18/11/10
Posts: 9
Reputação: 0
Char no Tibia: Druid Hellsing
Galera me ajude...
Presciso de um Script para quando o Player pronunciar '' !promotion''
ele virar MS,EK,RP, ou ED, de acordo com Sua vocation
Ajudem aii Plix', . vlws