TheSubKIller aka Skinning 261 Posted February 5, 2012 Boas Cyber-Gamers quest shutdown begin state start begin when 20094.chat."Desligado o Servidor" with pc . is_gm ( ) == true begin say_title ( "Shutdown:" ) say ( "Deseja Desligar o Servidor?" ) local siono = select ( "Sim","Não" ) if siono == 2 then return elseif siono == 1 then say_title ( "Shutdown:" ) say ( "Processo de desligar o Servidor..." ) local ciao = tostring(input()) timer ( "shutdown" , 900 ) notice_all ( "Servidor desligará em 30 minutos!" ) notice_all ( "Recomendamos que saia da conta.." ) notice_all ( "Qualquer perda de itens a culpa não é nossa" ) end end when shutdown.timer begin notice_all ( "Servidor desligará em 15 minutos!" ) notice_all ( "Recomendamos que saia da conta.." ) notice_all ( "Qualquer perda de itens a culpa não é nossa" ) timer ( "shutdown2" ,899 ) end when shutdown2.timer begin notice_all ( "Servidor desligará em 1 minutos!" ) notice_all ( "Recomendamos que saia da conta.." ) notice_all ( "Qualquer perda de itens a culpa não é nossa" ) timer ( "shutdown3" , 20 ) end when shutdown3.timer begin notice_all ( "Servidor desligará em 40 segundos!" ) notice_all ( "Recomendamos que saia da conta.." ) notice_all ( "Qualquer perda de itens a culpa não é nossa" ) timer ( "shutdown4", 31 ) end when shutdown4.timer begin notice_all ( "Reboot!" ) game . set_event_flag ( "test" , 1 ) timer ( "shutdown5" , 1 ) end when shutdown5.timer begin command ( "shutdown" ) game . set_event_flag ( "test" , 0 ) end end end 3 Mastema, testes123 and ɓʀuɳѳ' ИИ#92 reacted to this Share this post Link to post Share on other sites
shooterav 3 Posted June 15, 2012 onde meto esse texto ? Share this post Link to post Share on other sites
LuisPro97 YT 140 Posted October 26, 2013 onde meto esse texto ? Share this post Link to post Share on other sites
henriques. 99 Posted February 14, 2014 Crias um ficheiro .quest com o nome: shoutdown.quest, e metes na pasta de quest das files depois é so dar o comando ./qc shutdown.quest Share this post Link to post Share on other sites