Modem.transmit

From ComputerCraft Wiki
Jump to: navigation, search
Grid Redstone.png  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

Grid paper.png  Example
Sends a message and a reply channel over the specified channel.
Code
local modem = peripheral.wrap("top")

modem.transmit(1, 2, "Hello world!")
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox