Posted 01 December 2012 - 06:58 AM
Alright. I will try to make myself clear.
I basically want to make a two computer-network, where computer 1 detects a redstone signal and sends it via rednet to computer 2 which adds 1 to a counter which is constantly printed to a monitor.
I have made the basic code for computer 2, but not that crazeeshit (rednet stuff), except for rednet.open("back").
I made a simple code for computer 1, which is:
I basically want to make a two computer-network, where computer 1 detects a redstone signal and sends it via rednet to computer 2 which adds 1 to a counter which is constantly printed to a monitor.
I have made the basic code for computer 2, but not that crazeeshit (rednet stuff), except for rednet.open("back").
I made a simple code for computer 1, which is:
rednet.open("right")
if rs.getInput("back") == 1 then
rednet.send(1,"true!")
print("detected")
end