arismoko

highscore tracker

Oct 2nd, 2021 (edited)
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1.  
  2. rednet.open("top")
  3. local stacker = {}
  4.  
  5. while true do
  6. senderId, message, protocol = rednet.receive()
  7. if protocol == "stacker" then
  8. stacker.insert(stacker, message)
  9. elseif protocol == "stacker" then
  10. stacker.insert(stacker, message)
  11.  
  12. end
  13. end
Add Comment
Please, Sign In to add comment