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

How to send program commands over rednet?

Started by florodude, 25 July 2012 - 11:11 PM
florodude #1
Posted 26 July 2012 - 01:11 AM
I have a system where I want a computer to control a turtle over rednet. How would one accomplish this task?
Lyqyd #2
Posted 26 July 2012 - 02:45 AM
There are many, many topics about this exact request, both here in Ask a Pro looking for help, and in the Program Library, offering completed programs.
KingMachine #3
Posted 26 July 2012 - 06:06 AM
Instead of just telling you to look elsewhere I'll tell you what you're doing with rednet.
Rednet can send and receive 3 things (basically).

It's own computer id.
It's message.
It's distance is calculated by the receiving computer.

You have to logically determine how to use the information to get the tasks you want done.

A very EASY way to do this is by sending whatever command you want done as a message and having the receiving computer act accordingly when receiving it. I will not however be teaching you how to do this as knowing LUA and the APIs themselves are your responsibility. This response is a charity post. But as liquid said, there are many threads on this subject.