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

Easy Rednet Question

Started by Novicode, 02 November 2012 - 04:43 AM
Novicode #1
Posted 02 November 2012 - 05:43 AM
Whenever I try rednet.recieve() I always get "attempt to call nil"

Here is my code:


rednet.open("right")
senderId, message, distance = rednet.receive()
term.write(message)
Orwell #2
Posted 02 November 2012 - 06:26 AM
Make sure you spell it correctly:

rednet.receive()

In your OP, you spell it once as recieve, and once as receive. It should be the latter.
Novicode #3
Posted 02 November 2012 - 06:39 AM
*FACEPALM* Figures it would be something dumb like that. Thanks. :D/>/>