Advertisement
Mat484

doors

Feb 24th, 2020 (edited)
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. pass = "8537"
  2. print "Witaj!"
  3.  
  4. write "Podaj haslo: "
  5. input = read()
  6. if pass == input then
  7. print "Prawidlowe haslo."
  8. redstone.setOutput("left", true)
  9. sleep(2)
  10. redstone.setOutput("left", false)
  11. os.shutdown()
  12. else
  13. print "Nieprawidlowe haslo."
  14. sleep(2)
  15. os.shutdown()
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement