function onSay(cid, words, param) local storage,exausted = 78757,60 if param == "" then doPlayerSendCancel(cid,"Digite algum texto.") return true elseif not HaveCharaterAcess(cid) then doPlayerSendCancel(cid,"Você precisa ser vip.") return true elseif getPlayerStorageValue(cid, storage) >= os.time() then doPlayerSendCancel(cid, "aguarde " .. getPlayerStorageValue(cid, storage) - os.time() .. " segundos.") return true end return doBroadcastMessage(getCreatureName(cid).." ["..getPlayerLevel(cid).."] Diz:\n"..param, MESSAGE_INFO_DESCR) and setPlayerStorageValue(cid, storage, os.time()+exausted) end
SI
pedido
Comando Igual Ao /b Em Verde Somente Para Vips
Por sickk, 05 de set. de 2012 em Scripts
otserv
tibia
script
3
631
info
Grupo: Herói
Registrado: 20/05/10
Posts: 3.4k
Reputação: +1.5k
Gênero: Masculino

05 de setembro de 2012 às 17:30
05 de setembro de 2012 às 17:57
function onSay(cid, words, param) local storage,exausted = 78757,60 if param == "" then doPlayerSendCancel(cid,"Digite algum texto.") return true elseif not HaveCharaterAcess(cid) then doPlayerSendCancel(cid,"Você precisa ser vip.") return true elseif getPlayerStorageValue(cid, storage) >= os.time() then doPlayerSendCancel(cid, "aguarde " .. getPlayerStorageValue(cid, storage) - os.time() .. " segundos.") return true end return doBroadcastMessage(getCreatureName(cid).." ["..getPlayerLevel(cid).."] Diz:\n"..param, MESSAGE_INFO_DESCR) and setPlayerStorageValue(cid, storage, os.time()+exausted) end
Perfeito !!
Obrigado ![]()



info
Grupo: Campones
Registrado: 24/08/12
Posts: 26
Reputação: 0
Olá,
gostaria de um script igual ao /b de god só que com o comando !b e que apareça o nick do player e o level e depois a mensagem em verde somente para players vip.
Gostaria do script para funcionar no Perfect Vip System 3.0 [http://www.xtibia.com/forum/topic/133661-perfect-vip-system-30/]
Obrigado!