r/ComputerCraft • • Jul 29 '14

Help with a program.

Hi, have posted here before but that was a while ago. Basically haven't used CC in a while and am having a very large brain fart. I'm looking to have a computer read the amount of energy in a redstone energy cell and if it hits like a 75% threshold turn my power gen on. And when it gets full shut it off. I know it would be an if then statement but I'm not sure how to write it :(

Any help would be great thanks

1 Upvotes

6 comments sorted by

View all comments

3

u/[deleted] Jul 30 '14

It looks like this program does something similar: you may be able to hack something useful out of it.