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

Confirmation on sending wireless messages

Started by Sivarias, 08 June 2013 - 01:12 AM
Sivarias #1
Posted 08 June 2013 - 03:12 AM
Title: Confirmation on sending wireless messages

I'm trying to figure out wireless messaging (i don't have youtube and I can't find a good tutorial on the wiki, I work by example)

So far I got

Home computer
Code:
lua
rednet.open("top") [that's where I placed my modem]

Turtle
Code:
lua
rednet.open("right")
rednet.send(2, "Phoning Home")

however, when I go back to the home computer, it doesn't seem to recieve it, or rather the message doesn't seem to have appeared. am I missing something?
Lyqyd #2
Posted 08 June 2013 - 03:18 PM
Split into new topic.

Your code doesn't do anything with the messages it receives.
PixelToast #3
Posted 08 June 2013 - 03:29 PM
your missing
local id,msg=rednet.receive()
print(msg)