Advertisement
systox

Remote

Jul 29th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. function cc()
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. end
  5.  
  6. count = 0
  7.  
  8. while true do
  9.     rednet.open("top")
  10.     id,msg = rednet.receive()
  11.     if count > 9 == true then
  12.     cc()
  13.     print(msg)
  14.     count = 0
  15.     else
  16.     print(msg)
  17.     count = count+1
  18.   end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement