Craft4Cube

KeyDOOR

Aug 8th, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. term.clear()
  2. print("Willkommen!")
  3. print("Passwort:")
  4. term.setTextColor(colors.black)
  5. pw = read()
  6. if pw == "" then
  7. print("Passwort Richtig!! :)")
  8. redstone.setOutput("right", true)
  9. os.sleep(2)
  10. redstone.setOutput("right", false)
  11. os.shutdown()
  12. else
  13. print("Falsches Passwort - Fick dich! :D")
  14. os.sleep(2)
  15. os.shutdown()
  16. end
Advertisement
Add Comment
Please, Sign In to add comment