Advertisement
shiroxxblank

transmit

Jul 2nd, 2022
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. local args = { ... }
  2. if #args ~= 1 then
  3. print("usage: program <param1>")
  4. error()
  5. end
  6. args = args[1]
  7.  
  8. peripheral.find("modem", rednet.open)
  9.  
  10. rednet.broadcast(args)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement