Guest User

Gianfro95x - Pass.

a guest
Mar 6th, 2014
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. quest test begin
  2. state start begin
  3. when .20095.chat."Password ingresso" begin
  4.  
  5. local GEN_PASS = number (10000, 99999)
  6. local EVN_GET = game.get_event_flag ( "dungeon_password" )
  7. local SET_PASS = game.set_event_flag ( "dungeon_password", GEN_PASS )
  8.  
  9. say ( "La settata automaticamente e': "..GEN_PASS.."" )
  10. local INS_PASS = input()
  11.  
  12. if INS_PASS == EVN_GET then
  13. say ( "Password corretta" )
  14. else
  15. say ( "Password errata" )
  16. end
  17. end
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment