Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local targs = {...}
- local side = targs[1]
- local i
- local q
- local l
- repeat
- l = disk.isPresent(side)
- if l == true then
- if disk.hasAudio(side) == true then
- i = disk.getAudioTitle(side)
- disk.playAudio
- else
- disk.eject(side)
- end
- else
- sleep(1)
- end
- until q == true
Advertisement
Add Comment
Please, Sign In to add comment