Difference between revisions of "Rednet.open"

From ComputerCraft Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
{{Function
 
{{Function
|name=rednet.open( side )
+
|name=rednet.open
|args="left","right","front","back","bottom","top"
+
|args=[[string (type)|string]] side ("left","right","front","back","bottom","top")
 
|api=rednet
 
|api=rednet
 
|addon=ComputerCraft
 
|addon=ComputerCraft

Revision as of 07:56, 30 May 2012


Grid Redstone.png  Function rednet.open
Tells the computer that the side can be used for networking.
Syntax rednet.open(string side ("left","right","front","back","bottom","top"))
Returns nil
Part of ComputerCraft
API rednet

Examples

Grid paper.png  Example
Tells the computer that the side can be used for networking.
Code
rednet.open( "left" )