Difference between revisions of "Disk (event)"
From ComputerCraft Wiki
m (Changed output.) |
(Changed example description to match new example code) |
||
Line 5: | Line 5: | ||
}} | }} | ||
{{Example | {{Example | ||
− | |desc= | + | |desc=Print a message when a disk is inserted into a connected disk drive. |
|code= | |code= | ||
while true do | while true do |
Revision as of 22:20, 12 May 2013
Event disk | |
Fired when a disk is inserted into any connected (directly adjacent to) disk drive. | |
Returned Object 1 | The String value of the side of the disk drive. |