Modem.transmit
From ComputerCraft Wiki
Function modem.transmit | |
Sends a message and a reply channel over the specified channel. | |
Syntax | modem.transmit(number channel, number replyChannel, string message) |
Returns | nil |
Part of | ComputerCraft |
API | Modem |
Examples
Example | |
Sends a message and a reply channel over the specified channel. | |
Code |
local modem = peripheral.wrap("top") modem.transmit(1, 2, "Hello world!") |