while true do if redstone.getInput("left",true) then redstone.setOutput("right", true) sleep(4) redstone.setOutput("right", false) break end end
Give me this error massage: red:2 Too long without yielding
Posted 01 April 2013 - 10:46 AM
while true do if redstone.getInput("left",true) then redstone.setOutput("right", true) sleep(4) redstone.setOutput("right", false) break end end
Posted 01 April 2013 - 11:01 AM
if redstone.getInput( 'left' ) == true then --or if rs.getInputed( 'left' ) then
Posted 01 April 2013 - 11:02 AM
0 members, 1 guests, 0 anonymous users