Tutoriais Cyber Gamer
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.
Entrar

Esqueci-me da senha

Palavras-chaves

Últimos assuntos
» Filmes Online By tutoriais CG
Auto-Noticia servidor metin2 Icon_minitimeSex Jul 24, 2015 10:42 pm por [ADM]Pow3rKill3r

» OldStorm PVP
Auto-Noticia servidor metin2 Icon_minitimeDom Jun 21, 2015 8:12 pm por [ADM]Pow3rKill3r

» Elite Metin2 PT
Auto-Noticia servidor metin2 Icon_minitimeSex Jun 19, 2015 12:08 am por [ADM]Pow3rKill3r

» [ONLINE] Metin2 GO
Auto-Noticia servidor metin2 Icon_minitimeTer Fev 10, 2015 10:10 pm por [ADM]Pow3rKill3r

» Compro Server Files !!
Auto-Noticia servidor metin2 Icon_minitimeTer Fev 10, 2015 9:58 pm por [ADM]Pow3rKill3r

» Proteger Servidor Contra Coredowner
Auto-Noticia servidor metin2 Icon_minitimeSeg Dez 23, 2013 4:28 am por [MOD]Portoswat69

» Autopatcher Semelhante Ao Do Metin2Pt
Auto-Noticia servidor metin2 Icon_minitimeTer Nov 26, 2013 11:11 pm por [ADM]Pow3rKill3r

» Bot Rodar em PORTUGUES! [v3.1]
Auto-Noticia servidor metin2 Icon_minitimeSáb Nov 23, 2013 4:47 pm por speedpower23

» Delta Jogos [Metin2]
Auto-Noticia servidor metin2 Icon_minitimeSex Nov 22, 2013 1:10 am por OliveiraHD

Os membros mais ativos do mês
Nenhum usuário

Estatísticas
Temos 1122 usuários registrados
O último membro registrado é gongas009

Os nossos membros postaram um total de 317 mensagens em 249 assuntos

Auto-Noticia servidor metin2

Ir para baixo

Auto-Noticia servidor metin2 Empty Auto-Noticia servidor metin2

Mensagem por [ADM]Pow3rKill3r Seg Mar 19, 2012 4:03 pm

Essa quest faz que a noticia aparece automaticamente a cade minuto, hora ou segundo...

Ta em Inglês você pode traduzir para português com Google Translate.

quest automex begin
state start begin
when letter with pc . is_gm ( ) begin
send_letter ( "GM Auto Notice" )
end
when button or info begin
a = select ( "Enable Auto Message" , "Disable Auto Message" , "Set Auto Message" , "Set time" , "Close" )
if a == 1 then
if game . get_event_flag ( "auto" ) >= 1 then
say ( "Already active" )
else
say ( "Auto Message On" )
game . set_event_flag ( "auto" , 1 )
server_timer ( "mex" , t )
end
elseif a == 2 then
say ( "Auto Message Off" )
game . set_event_flag ( "auto" , 0 )
clear_server_timer ( "mex" )
clear_server_timer ( "mex1" )
elseif a == 3 then
say ( "Enter your message" )
s = input ( )
say ( "Other Message:" )
b = input ( )
say ( "Other Message:" )
c = input ( )
elseif a == 4 then
say ( "Auto post time:" )
m = tonumber(input())
if m == nil then
say ( "You must enter a number" )
elseif m < 1 then
say ( "You must enter a positive number" )
else
h = select ( "Seconds" , "Minutes" , "Hours" )
if h == 1 then
t = m
elseif h == 2 then
t = tonumber(m * 60)
elseif h == 3 then
t = tonumber(m * 60 * 60)
end
end
end
end
when mex.server_timer begin
if game.get_event_flag ( "auto" ) == 1 then
notice_all ( ""..s )
if b != "" then
notice_all ( ""..b )
end
if c != "" then
notice_all ( ""..c )
end
server_timer ( "mex1" , t )
else
end
end
when mex1.server_timer begin
if game . get_event_flag ( "auto" ) == 1 then
notice_all ( ""..s )
if b != "" then
notice_all ( ""..b )
end
if c != "" then
notice_all ( ""..c )
end
server_timer ( "mex" , t )
else
end
end
end
end


(Equipe tutoriais-metin2 profissionais não se responsabiliza por erros que possam ocorrer na instalação de tais modificações.)
[ADM]Pow3rKill3r
[ADM]Pow3rKill3r
Admin

Mensagens : 271
Data de inscrição : 02/03/2012
Idade : 30

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos