Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reactor = peripheral.find("BigReactors-Reactor")
- term.clear()
- term.setCursorPos(1,1)
- sleep(1)
- 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
Advertisement
Add Comment
Please, Sign In to add comment