Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local name = disk.getLabel(bottom)
- function error()
- print("No disk")
- end
- function check1()
- if disk.hasAudio(bottom)
- then audio
- else
- then error
- end
- function check()
- if disk.isPresent(bottom)
- then check1
- end
- function audio()
- disk.playAudio(bottom)
- shell.run("monitor", "right", "djfig")
- shell.run("monitor", "right", "name")
- end
- check
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement