Naitsab_33

Passwort Programm Lua

Aug 29th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. print("Passwort eingeben!")
  2. print()
  3. write("Passwort:")
  4. passwort = io.read()
  5. if passwort == "<passwort>" then
  6.     print("Hallo Benutzer")
  7.     sleep(3)
  8.     shell.run("clear")
  9.     else
  10.         print("Falsches Passwort!")
  11.         shell.run("reboot")
  12. end
Add Comment
Please, Sign In to add comment