Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest mentenanta begin
- state start begin
- when login with game.get_event_flag("mentenanta") == 1 begin
- timer("x", 1)
- end
- when x.timer begin
- say("Este mentenanta,trebuie sa introduci parola,altfel nu poti intra pe server:")
- local pw = tonumber(input())
- if pw == game.get_event_flag("mentenanta_parola") then
- say("Codul este bun!")
- say("Poti intra!")
- else
- say("Parola este incorecta!")
- say("Te voi da afara!")
- say("[DELAY value; 1000]. . . . .[/DELAY]")
- command("quit")
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement