Modem.open

From ComputerCraft Wiki
Revision as of 09:41, 25 March 2014 by Oeed (Talk | contribs) (Categorised page)

Jump to: navigation, search
Grid Redstone.png  Function modem.open
Opens the specified channel to allow listening for messages.
Syntax modem.open(int channel)
Returns nil
Part of ComputerCraft
API Modem

Examples

Grid paper.png  Example
Opens the specified channel to allow listening for messages.
Code
modem.open(1)