disk.setLabel
From ComputerCraft Wiki
| Writes a label to the floppy disk, which can be read with disk.getLabel and viewed in the item tooltip. | |
| Syntax | disk.setLabel(string side, string label) |
| Returns | nil |
| Part of | ComputerCraft |
| API | disk |
Examples
| Sets the label of the disk in the bottom drive to "Floppy" | |
| Code |
disk.setLabel("bottom", "Floppy")
|