Posted 07 August 2012 - 06:07 PM
Hey Folks!
I need some help with these bundled cables.
I'm trying to make a script that asks a machine if it is working atm, and when it is working, it should ask me if I want to turn the machine (or more precise: a redstone signal) off.
And otherwise, I want the script to ask me to turn on the machine, if it is off.
Well, this is not my problem ;)/>/>
My problem is: How do I get the state of a certain redstone signal on a bundled cable?
I tried
but there he told me "attempt to call number"
This code actually works for normal red alloy wire, if u use
I tried things like
but that didn't do anything.
I tried some other things, but nothing seemed to work. Everything works fine using the normal alloy wire, but I dont get any in- or output of the bundled cables :(/>/>
so pleeeze help out a german :(/>/>
I need some help with these bundled cables.
I'm trying to make a script that asks a machine if it is working atm, and when it is working, it should ask me if I want to turn the machine (or more precise: a redstone signal) off.
And otherwise, I want the script to ask me to turn on the machine, if it is off.
Well, this is not my problem ;)/>/>
My problem is: How do I get the state of a certain redstone signal on a bundled cable?
I tried
red = rs.getBundledInput("back", colors.red)
if red == "true" then
but there he told me "attempt to call number"
This code actually works for normal red alloy wire, if u use
rs.getInput("side")
I tried things like
if rs.getBundledInput("back", colors.red) == true then
but that didn't do anything.
I tried some other things, but nothing seemed to work. Everything works fine using the normal alloy wire, but I dont get any in- or output of the bundled cables :(/>/>
so pleeeze help out a german :(/>/>