antiblock
https://i.imgur.com/aJ17bf7.gif
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
Sign in to follow this  
K3nkσz

Hot Release - Quest Manutenção

16 posts in this topic

Em 06/06/2015 at 15:05, Rúben Alexandre disse:

A próprio quest não tem a função de ser ativada in-game mas sim é ativada quando a instalar no próprio servidor, depois tens de tirá-la novamente.

 

enganas-te a quest é ativada.

 

quest questtest begin
state start begin
when login with game.get_event_flag("questtest") == 1 begin
timer("x", 1)
end
when x.timer begin
say("Servidor está em manutenção, insere a senha para continuar:")
local pw = tonumber(input())if pw == game.get_event_flag("questtest") then
say("Entras-te com sucesso!")
else
say("Senha invalida!")
say("Irás levar DC, obrigado!")
say("[DELAY value; 1000]. . . . .[/DELAY]")command("quit")
end
end
end
end

para iniciar é só /e questtest 1 

para desligar /e questtest 0

 

Agora só não entendo uma coisa, a linha  -

timer("x", 1)

when x.timer begin

 

Também não entendo onde é que está a pw para digitar xD , mas isso sou eu que não mexo há séculos em privados.

 

------------

 

Descobri então a pass é >  1  <  ou seja é só alterar onde tá '1' para a pass que queremos :D

Edited by Berry
Descobri a dúvida. (see edit history)

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this