Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- passwort = "Muffin123"
- console = "Meep123"
- write("Bitte geben Sie ihr Passwort ein: ")
- input = read("*")
- if input == passwort then
- print("Als ob ich das Passwort nutze xD!")
- rs.setOutput("left",true)
- sleep(5)
- rs.setOutput("left",false)
- os.shutdown()
- elseif input == console then
- shell.run("monitor left hello")
- shell.run("hello")
- sleep(3)
- 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