Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- passkey = "AngryOwnage"
- while true do
- if disk.isPresent("back") then -- Put side to the side the disk drive is on
- h = fs.open("disk/passcode", "r")
- if h.readAll() == passkey then
- print("Accepted")
- rs.setOutput("left",true)
- sleep(3)
- os.reboot()
- else
- print("Denied")
- disk.eject("back") -- Replace side with diskdrive side
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment