Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --#Receiving computer. ID 0
- 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
- print(message)
- --#Sending computer one
- rednet.send(0,"Hello")
- --#Sending computer two
- rednet.send(0,"Hello There","my,message")
- --#The receiving computer will print out:
- "Hello There"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement