This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ProxyUser's profile picture

Only Receive a RedNet Message from a Specified ID

Started by ProxyUser, 13 October 2014 - 12:40 PM
ProxyUser #1
Posted 13 October 2014 - 02:40 PM
Hello Pro's,

I am working on a RedNet project and i want to only receive a RedNet message from one ID, all the rednet messages that the program receives from other ID's will be ignored.

I want to know how to make something like that :)/>

Thanks in advance.
Lyqyd #2
Posted 13 October 2014 - 03:24 PM
Create a function that receives a rednet message, checks the sender ID against the desired one, and discards or returns the message as appropriate.
ProxyUser #3
Posted 13 October 2014 - 03:34 PM
Create a function that receives a rednet message, checks the sender ID against the desired one, and discards or returns the message as appropriate.

Thank you :)/>