Board Thread:General Discussion/@comment-209.235.172.2-20130128181253/@comment-6024139-20130128184459

rednet.open(side of modem);

Here's an example of a simple receiver loop:

while true do event, id, message = os.pullEvent; if event == "rednet_message" then if message == "foo" then ; do stuff end sleep(0.2); end end

Here's an example of sending a message: rednet.broadcast("foo");

If you need further assistance, don't hesitate to ask.