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

Rednet Receive?

Started by Sup3rNinj4z, 23 August 2016 - 10:55 AM
Sup3rNinj4z #1
Posted 23 August 2016 - 12:55 PM
Hey guys,

Simple question.. Am i missing something?


local senderID, message, distance, protocol = rednet.receive()
print(message)

I've tried all sorts to try to receive the message but it wont print anything?

Computer ID is 5, and all im doing to send it is "rednet.send(5,read())" via a Advanced Wireless Pocket Computer. I know i can get it to work since I've tried and succeeded with 2 Pocket Computers.
Lyqyd #2
Posted 23 August 2016 - 02:35 PM
Have you opened the modem with rednet.open()?
Bomb Bloke #3
Posted 24 August 2016 - 03:07 AM
Note also that you can't get the distance with your version of ComputerCraft. That's only available through rednet.receive() in older versions of the mod, prior to the introduction of protocols.
Lupus590 #4
Posted 24 August 2016 - 03:49 AM
are you in range of the other computer?