disk.getAudioTitle
From ComputerCraft
Jump to navigation
Jump to search
disk.getAudioTitle Function | |
---|---|
Syntax disk.getAudioTitle(
| |
Returns | string title |
API | disk |
Source | CC:Tweaked (source) |
Returns the title from a music disk in the given disk drive. Returns false, if there is no music disk in the disk drive.
|
|||
Print the title of the music disk in the top drive. | |||
Code | print(disk.getAudioTitle("top"))
|
||
Output | C418 - ward |