Advertisement
Guest User

Passwort

a guest
Oct 20th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. shell.run("clear")
  2. while true do
  3. write ("Passwort: ")
  4. passwort = read(x)
  5. if passwort == 1234 then
  6. print("Passwort akzeptiert")
  7. rs.setOutput("right",true)
  8. sleep (2)
  9. rs.setOutout("right",false)
  10. shell.run("clear")
  11. else
  12. print("Passwort nicht akzeptiert")
  13. sleep (5)
  14. shell.run("clear")
  15. end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement