Modem.transmit

From ComputerCraft Wiki
Revision as of 05:37, 7 August 2013 by Iownall555 (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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!")