Advertisement
Creepinson

ComputerCraft rednet send script

Sep 14th, 2019
1,743
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. args = {...}
  2. rednet.open("top")
  3. message = args[1]
  4.  
  5. if message == "on" then
  6. rednet.broadcast("lon")
  7. elseif message == "off" then
  8. rednet.broadcast("loff")
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement