17 posts
Posted 02 September 2012 - 02:57 AM
how do you make it so you go to your pc type in something like "Door" and if the redstone current was coming out it would turn that current off and the door would shut without having Door-open and Door-off
kinda basicly put how do u make it detect its putting out an input and how it changes the redstone output
116 posts
Location
At my Computer coding for the Computer in my Computer
Posted 02 September 2012 - 03:02 AM
You can use "rs.setOutput("side you want", true or false)" to set a redstone signal and you can use rs.getInput("side you want") to see if a signal is being sent on that side.
1604 posts
Posted 02 September 2012 - 03:17 AM
You can use rs.getOutput(side) to check if the output is on.
A simple and short way to switch output is:
rs.setOutput(side, not rs.getOutput(side))
17 posts
Posted 02 September 2012 - 03:34 AM
ok thanks got it working
one more thing, im making a system where theres a secret door activated by a pc to get down (which then closes after 4 seconds) and then theres another pc down the bottom which you use to get back up again well i have a pc which i want to detect when the door has been used by when the signal is off, when its off a message is put on a monitor next to it, but me being a CC Noob i have no idea how to do this