Guest User

Untitled

a guest
Dec 6th, 2014
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. print("Enter the side the disk drive is on -> ")
  2. local side = read()
  3. if not disk.isPresent(side) then print ("No disk") end
  4. if disk.isPresent(side) and not (disk.hasAudoio(side)) then
  5. local disknam = disk.getAudioTitle(side)
  6. print("Now playing",diskname)
  7. disk.eject(side)
  8. end
Advertisement
Add Comment
Please, Sign In to add comment