Advertisement
Guest User

password

a guest
Jun 25th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. shell.run("clear")
  2. function password()
  3. print("password eingeben\n\n")
  4. write("Password :  ")
  5. Password =io.read()
  6. if Password =="0100" then
  7.   shell.run("clear")
  8.   print("Korekt")
  9.   sleep(1.0)
  10.     shell.run("clear")
  11.  
  12.  else
  13.  if Password =="reboot" then  
  14.   print("dan eben Nicht ")
  15.   sleep(1.0)
  16.   shell.run("clear")
  17.   print(":-)")
  18.   sleep(1.0)
  19.   shell.run("reboot")
  20. else
  21. print("leider FALSCH")
  22. sleep(1.5)
  23.  shell.run("clear")
  24.  shell.run("password")
  25.  end
  26. end
  27.  
  28. end
  29. password()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement