CanadaTacos Posted April 7, 2013 Share Posted April 7, 2013 I tried to start a program to get my maintained nuclear reactor working, but everytime i type "maintain" and hit enter, the program doesnt start. can anyone help? function.flush() shell.run("redpulse", "right", "64, "0.5") end function.rebuild() shell.run("redpulse", "top", "46", "0.5) sleep(5) shell.run("redpulse", "left", "7", "1") sleep(5) shell.run("redpulse", "top", "1", "5") end while true do if rs.getInput("bottom") then rs.setOutput("back", true) flush() rebuild() rs.setOutput("back", false) end shell.run("redpulse", "left", "1", "0.5") end return when i type maintain and hit enter, i get the error code bios:206: [string "maintain"]:1: '<name>' expected Link to comment Share on other sites More sharing options...
nedned2k Posted April 7, 2013 Share Posted April 7, 2013 "function.flush()" and "function.rebuild()" should have a space instead of the period. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now