Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("wie soll das Passwort sein?")
- passwort = read()
- term.clear()
- while true do
- side = os.pullEvent("disk")
- if(side and disk.isPresent("bottom")) then
- if(disk.getLabel("bottom") == passwort) then
- disk.eject("bottom")
- rs.setOutput("right", true)
- sleep(2)
- rs.setOutput("right", false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement