Jump to content

Program Help - Computer Craft


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...