Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tape = peripheral.find("tape_drive")
- while true do
- local event, param = os.pullEvent()
- if event == 'key' then
- if param == keys.enter then
- break
- end
- end
- readvalue = tape.read()
- if readvalue == 0 then tape.seek(-99999999)
- else
- sleep(5)
- end
- end
Add Comment
Please, Sign In to add comment