Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest test begin
- state start begin
- when 20095.chat."Password ingresso" begin
- local GEN_PASS = number (10000, 99999)
- local EVN_GET = game.get_event_flag ( "dungeon_password" )
- local SET_PASS = game.set_event_flag ( "dungeon_password", GEN_PASS )
- say ( "La settata automaticamente e': "..EVN_GET.."" )
- local INS_PASS = tonumber(input())
- if INS_PASS == EVN_GET then
- say ( "Password corretta" )
- else
- say ( "Password errata" )
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment