Advertisement
LDDestroier

Rednet Repeater

Oct 27th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. side1 = "right"
  2. side2 = "left"
  3. rednet.open(side1)
  4. rednet.open(side2)
  5. local a = "starting up..."
  6. b = 0
  7. while true do
  8. a = rednet.receive()
  9. if a ~= b then
  10. rednet.broadcast(a)
  11. end
  12. b = a
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement