Advertisement
gravityio

transmit.lua

Jan 15th, 2021
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. local modem = peripheral.find("modem")
  2. rednet.open(peripheral.getName(modem))
  3.  
  4. local msg = ...
  5. rednet.broadcast(msg)
  6. print("Broadcasted message to all nearby rednet listeners.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement