Posted 17 July 2012 - 09:27 AM
It has been nearly 2 years since i stopped programming, by now ive forgotten most lua syntax… anyways, on to my question, well more of an explanation. ive been experimenting with computerCraft for a few days now, and at the moment i am trying to control one computer with another.
the "home" comp (the one ill be controlling with)
is a normal terminal with an attached wireless modem
the controlled compueter is attached to both a wireless modem and an array of redstone wiring.
i seek to send a rednet message such as
"hatch" from the home comp to the controlled
and at the controlled the computer would notice the message was "hatch"
and would do a redpulse in a specific wire, or sequence of specific wires.
if someone could maybe give an example of how this is done, such as the code to make the comp analyze the message and connect it with a specific function and the coding of the function itself, I would greatly appreaciate it
-Explorer
p.s. please add desc. after lines of code
Thanks!
the "home" comp (the one ill be controlling with)
is a normal terminal with an attached wireless modem
the controlled compueter is attached to both a wireless modem and an array of redstone wiring.
i seek to send a rednet message such as
"hatch" from the home comp to the controlled
and at the controlled the computer would notice the message was "hatch"
and would do a redpulse in a specific wire, or sequence of specific wires.
if someone could maybe give an example of how this is done, such as the code to make the comp analyze the message and connect it with a specific function and the coding of the function itself, I would greatly appreaciate it
-Explorer
p.s. please add desc. after lines of code
Thanks!