I'm getting a "bios:338: [string "startup"]:16: 'do' expected" error... it doesn't make sense though... Please help me... Thank you very much.
while true do
if redstone.getInput("left") == true and redstone.getInput("right") == true then
redstone.setOutput("top", true)
sleep(5)
redstone.setOutput("top", false)
sleep(.1)
end
end
would this fix it or not?
while true do
if redstone.getInput("left") == true and redstone.getInput("right") == true then
redstone.setOutput("top", true)
sleep(5)
redstone.setOutput("top", false)
sleep(.1)
end
if redstone.getInput("left") == true and redstone.getInput("right") == false then
sleep(1)
end
end