Advertisement
Readdeo

Rednet Repeating 10 line 4 sec wait with screen

Jul 28th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. while true do
  2.  
  3. rednet.open("back")
  4.  
  5. id, msg, dist = rednet.receive()
  6. print(msg)
  7. rednet.broadcast(msg)
  8.  
  9. id, msg = rednet.receive()
  10. print(msg)
  11. rednet.broadcast(msg)
  12.  
  13.  
  14.  
  15. id, msg, dist = rednet.receive()
  16. print(msg)
  17. rednet.broadcast(msg)
  18.  
  19.  
  20. id, msg, dist = rednet.receive()
  21. print(msg)
  22. rednet.broadcast(msg)
  23. mon.setCursorPos(1,4)
  24. mon.write(msg)
  25.  
  26.  
  27. id, msg, dist = rednet.receive()
  28. print(msg)
  29. rednet.broadcast(msg)
  30.  
  31.  
  32.  
  33. id, msg, dist = rednet.receive()
  34. print(msg)
  35. rednet.broadcast(msg)
  36.  
  37.  
  38.  
  39. id, msg, dist = rednet.receive()
  40. print(msg)
  41. rednet.broadcast(msg)
  42.  
  43.  
  44.  
  45. id, msg, dist = rednet.receive()
  46. print(msg)
  47. rednet.broadcast(msg)
  48.  
  49.  
  50.  
  51. id, msg, dist = rednet.receive()
  52. print(msg)
  53. rednet.broadcast(msg)
  54.  
  55.  
  56. id, msg, dist = rednet.receive()
  57. print(msg)
  58. rednet.broadcast(msg)
  59.  
  60.  
  61. sleep(4)
  62.  
  63. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement