disk_eject event
Occurs every time a disk is ejected from a connected Disk Drive.
|
|||
Waits for a disk to be ejected and alerts the user when it occured. | |||
Code | <nowiki>
local event, peripheral_name = os.pullEvent("disk_eject")
print("A disk has been ejected from disk drive", peripheral_name)
</nowiki>
|
disk_eject Event | |
---|---|
Returns
| |
Source | CC:Tweaked |
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.