Difference between revisions of "Modem.transmit"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{Function |name=modem.transmit |args={{type|int}} channel, {{type|int}} replyChannel, {{type|string}} message |api=Modem |addon=ComputerCraft |desc=Sends a message and a repl...")
 
(Categorised page)
Line 11: Line 11:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Revision as of 09:41, 25 March 2014

Grid Redstone.png  Function modem.transmit
Sends a message and a reply channel over the specified channel.
Syntax modem.transmit(int channel, int replyChannel, string message)
Returns nil
Part of ComputerCraft
API Modem

Examples

Grid paper.png  Example
Sends a message and a reply channel over the specified channel.
Code
modem.transmit(1, 2, "Hello world!")