Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Enter the side the disk drive is on -> ")
- local side = read()
- if not disk.isPresent(side) then print ("No disk") end
- if disk.isPresent(side) and not (disk.hasAudoio(side)) then
- local disknam = disk.getAudioTitle(side)
- print("Now playing",diskname)
- disk.eject(side)
- end
Advertisement
Add Comment
Please, Sign In to add comment