Parg60

reactorStatusClient

Dec 17th, 2020 (edited)
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3.  
  4. modem = peripheral.wrap("back")
  5. modem.open(7777)
  6.  
  7. modem.transmit(7777, 7777, "statusupdate")
  8. event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
  9. print(message)
  10.  
Add Comment
Please, Sign In to add comment