Modem.isOpen

From ComputerCraft Wiki
Revision as of 13:34, 18 July 2013 by Cranium (Talk | contribs) (Changing int to number)

Jump to: navigation, search
Grid Redstone.png  Function modem.isOpen
Checks whether or not a certain channel is open.
Syntax modem.isOpen(number channel)
Returns nil
Part of ComputerCraft
API Modem

Examples

Grid paper.png  Example
Checks whether the computer is listening on this channel.
Code
modem.isOpen(1)