Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("clear")
- function passwort()
- textutils.slowPrint(" Bitte Passwort eingeben")
- print(" ")
- write(" Passwort : ")
- Passwort =io.read()
- if Passwort =="0000" then
- shell.run("clear")
- rs.setOutput("back", true)
- textutils.slowPrint("Passwort richtig")
- sleep(10)
- rs.setOutput("back", false)
- shell.run("clear")
- passwort()
- else
- shell.run("clear")
- textutils.slowPrint("Falsches Passwort!!")
- shell.run("clear")
- shell.run("reboot")
- passwort()
- end
- end
- passwort()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement