Advertisement
rungholt

rednetSendCli

May 17th, 2022
790
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. local args = { ... }
  2. channel = tonumber(args[1])
  3. input = (args[2])
  4. -- protocol = tonumber(args[3])
  5.  
  6. local modem = peripheral.find("modem", rednet.open)
  7. rednet.send(channel, input)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement