Posted 20 July 2014 - 04:23 PM
Hello,
I try to open a door using a detector rail.
When a cart passes the detector rail it should open a door but it doesnt.
The input is the detector rail.
The output BACK is the door
The output right is the holding rail.
When the door is open it should give a signal to the cart that it can go.
I try to open a door using a detector rail.
When a cart passes the detector rail it should open a door but it doesnt.
if redstone.getInput("left", true) then
sleep(1)
rs.setOutput("back", true)
sleep(4)
rs.setOutput("right", true)
sleep(2)
end
os.reboot()
The input is the detector rail.
The output BACK is the door
The output right is the holding rail.
When the door is open it should give a signal to the cart that it can go.