Advertisement
Guest User

Untitled

a guest
Oct 7th, 2015
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. local passwort ="HC"
  2. local warte = 3
  3.  
  4. print("")
  5. shell.run("clear")
  6. write("Passwort: ")
  7. eingabe = read("*")
  8.  
  9. if eingabe == passwort then
  10. print("Richtig")
  11. rs.setOutput("left",true)
  12. sleep(warte)
  13. rs.setOutput("left",false)
  14. else
  15. print("Falsches passwort")
  16. sleep(warte)
  17. end
  18. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement