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

Help me rednet.send

Started by Noodle, 24 April 2012 - 10:26 PM
Noodle #1
Posted 25 April 2012 - 12:26 AM
im sending a var a command
c = read()
rednet.send(c, "connect")
Doesn't work?
Positive number expected?
cant_delete_account #2
Posted 25 April 2012 - 12:31 AM
Do
c = tonumber(read())
Instead of
c = read()
Read() returns a string.
Noodle #3
Posted 25 April 2012 - 01:22 AM
Will try thanks!
Noodle #4
Posted 25 April 2012 - 02:41 AM
Worked! Thankyou!