Posted 24 February 2015 - 11:25 PM
Hello I was working on a Computer Program for Big Reactors. I am fairly new to computer craft but I made this super simple program:
bios:366: [string "reactor"]:20: unfinished string
Thanks So Much for everyone's help
- reactor = peripheral.find("BigReactors-Reactor")
- term.clear()
- term.setCursorPos(1,1)
- sleep(1)
- if reactor.getConnected() then
- print("Reactors Connected")
- sleep(1)
- else
- print("Unable To Connect To Reactors")
- end
- print("Please Write on To Turn Reactors On, off To Turn Off")
- input = read()
- if input == "on" then
- print("Turning On Reactors")
- reactor.setActive(true)
- elseif input == "off" then
- print("Turning Off Reactors")
- reactor,setActive(false")
- end
- end
bios:366: [string "reactor"]:20: unfinished string
Thanks So Much for everyone's help