Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local m = peripheral.wrap("top")
- print("Passwort:")
- Passw = io.read()
- if Passw == "DB" then
- rs.setOutput("left",true)
- term.clear()
- sleep(3)
- rs.setOutput("left",false)
- shell.run("reboot")
- else
- term.clear()
- term.setCursorPos(1, 1)
- print("falsches Passwort")
- shell.run("reboot")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement