Advertisement
karelvysinka

modem send messge test

Feb 5th, 2022
1,239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. local modem = peripheral.wrap("right") -- Wraps the modem on the right side.
  2. modem.transmit(3, 1, "Hello world!")
  3.  
  4. peripheral.call("right", "transmit", 3, 1, "This will also work!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement