Advertisement
oxonico

Untitled

Oct 17th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. --#Receiving computer. ID 0
  2. local id, message = rednet.receive("my,message") --# Something I failed to mention, if you set a protocol as the first argument, it will still work
  3. print(message)
  4. --#Sending computer one
  5. rednet.send(0,"Hello")
  6. --#Sending computer two
  7. rednet.send(0,"Hello There","my,message")
  8. --#The receiving computer will print out:
  9. "Hello There"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement