Posted 08 September 2012 - 01:21 AM
Basicly I've been working on a reactor that restocks its self. but my only limitation is this piece of script I've been trying to get to work.
but instead when it turns on the magenta wire the magenta wire does not turn back off in .5 seconds.
function ASDF()
I = 0
repeat
redstone.setBundledOutput("right",3+4)
sleep(.5)
redstone.setBundledOutput("right",3)
I = I + 1
until I > 45
end
while true do
if rs.getInput("left") == true then
ASDF()
redstone.setBundledOutput("right",3)
end
end
Basicly I want it to pulse the magenta wire and keep the white and orange wires on at the same timebut instead when it turns on the magenta wire the magenta wire does not turn back off in .5 seconds.