Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- passwort = "ass"
- console = "abcdefg"
- write("Bitte geben Sie ihr Passwort ein: ")
- input = read("*")
- if input == passwort then
- print("Passwort richtig!")
- rs.setOutput("left",true)
- sleep(5)
- rs.setOutput("left",false)
- os.shutdown()
- elseif input == console then
- shell.run("boot")
- else
- print("Passwort falsch!")
- print("Bitte versuchen Sie es erneut!")
- sleep(3)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement