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

Bundled Cable problem

Started by sme4gle, 19 August 2012 - 01:55 PM
sme4gle #1
Posted 19 August 2012 - 03:55 PM
Hello people, what im trying to do is this:

I got a reactor with doors wich are running to one computer (also got a cooling system)
cooling system is running on the magenta wire.
doors are connected to the orange wires
reactor is connected to the green wires
heat alarm is connected to yellow (not neccesary for the pc)

now what i want to do is have a script called "door") wich only detects the Orange wire
so for example if the reactor is on the doors should still function with going on and off
but it must do the same if it is off

i tried rs.getBundledInput("bottom",colors.orange) == true then blablabla
i also tried to do it with colors.test (seems to be something totaly different)

can someone help me?

sincerely sme4gle
Noodle #2
Posted 19 August 2012 - 04:50 PM
1 Is the wire connected to the bottom or the back?
2 Is it all in a true loop or some sort of loop?
3 You don't need the "== true", just "rs.getBundledInput("bottom", colors.orange)" would do.
sme4gle #3
Posted 19 August 2012 - 05:50 PM
its at the bottom .. and that didnt work :/
nope its not in a loop