Advertisement
arismoko

score display

Oct 6th, 2021 (edited)
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. term.redirect(peripheral.wrap("back"))
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. rednet.open("top")
  5. local name = os.getComputerLabel()
  6. print(name)
  7. while true do
  8. senderId, message, protocol = rednet.receive()
  9. if protocol == name and senderId == 141 then
  10. term.clear()
  11. print(name)
  12. print(message)
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement