Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pass = "8537"
- print "Witaj!"
- write "Podaj haslo: "
- input = read()
- if pass == input then
- print "Prawidlowe haslo."
- redstone.setOutput("left", true)
- sleep(2)
- redstone.setOutput("left", false)
- os.shutdown()
- else
- print "Nieprawidlowe haslo."
- sleep(2)
- os.shutdown()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement