Posted 03 April 2013 - 06:32 PM
I am just making myself a quarry with some turtles and a master computer. Direwolf20 style design, with a few improvements, none ComputerCraft related though, so on to my problem. This piece of code will not work at all.
Right from pastebin, so it should maintain its lack of formatting, its only 6 lines, its just a simple program that gets called to be run on the master computer. Everytime I do so it says ProgramName:1: Expected String , Integer.
I tried using rs.setBundledOutput and normal redstone.setOutput, same result. Sort of, redstone.setOutput gives the same message but it expects String , Boolean.
I first tried normal red alloy wire, which didn't work, then vanilla redstone, and then I switched commands, grabbed some bundled and yellow cable and it still won't work.
- redstone.setBundledOutput(left, 5)
- sleep(0.4)
- redstone.setBundledOutput(left, 0)
- sleep(0.4)
- shell.run("dig")
- sleep(45)
Right from pastebin, so it should maintain its lack of formatting, its only 6 lines, its just a simple program that gets called to be run on the master computer. Everytime I do so it says ProgramName:1: Expected String , Integer.
I tried using rs.setBundledOutput and normal redstone.setOutput, same result. Sort of, redstone.setOutput gives the same message but it expects String , Boolean.
I first tried normal red alloy wire, which didn't work, then vanilla redstone, and then I switched commands, grabbed some bundled and yellow cable and it still won't work.