Modem.transmit
From ComputerCraft Wiki
| 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
| Sends a message and a reply channel over the specified channel. | |
| Code |
local modem = peripheral.wrap("top") modem.transmit(1, 2, "Hello world!") |