Postado Agosto 23, 2015 9 anos Descrição Automaticamente aparece a mensagem no Broadcast. Instalando data/globalevents/scripts/others/autobroadcast function onThink(interval, lastExecution) local MESSAGE = { "[COMMAND] Use !buypromotion.", "[FORUM] Report bugs on the forum! We have admins checking there every day!", "[Fixing] We are working on to fix POI, INQ and Svargrond Arena. Updates, check our website", "[INFO] You can buy your blessings in Thais temple.", } Game.broadcastMessage(MESSAGE[math.random(1, #MESSAGE)], MESSAGE_STATUS_WARNING) return true end Não esqueça de acrescentar a tag em globalevents.xml Créditos à luanluciano93 por indentar! Editado Agosto 24, 2015 9 anos por Larissa Azhaurn (veja o histórico de edições)
Postado Agosto 24, 2015 9 anos Indentação! function onThink(interval, lastExecution) local MESSAGE = { "[COMMAND] Use !buypromotion.", "[FORUM] Report bugs on the forum! We have admins checking there every day!", "[Fixing] We are working on to fix POI, INQ and Svargrond Arena. Updates, check our website", "[INFO] You can buy your blessings in Thais temple.", } Game.broadcastMessage(MESSAGE[math.random(1, #MESSAGE)], MESSAGE_STATUS_WARNING) return true end STYLLER OT 2022
Postado Agosto 24, 2015 9 anos Aprovado e movido a área correta, obrigado por compartilhar. ➥ Regras | Seções OTServ | Seções BOT
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.