sorry if my english is not completely correct, i am using google translator.
I'm trying to make a wooden farm in a modpack where I live on a compact machine ( Compact Claustrophobia) and I need a code that receives an external redstone signal and runs the program, but I need it to check the redstone signal forever, if the redstone signal is 0 then it executes, otherwise it is stopped, I am using if to check the redstone signal but every time the programming ends it doesn't run again when the redstone is 0, I needed a solution for that.
(resources are very scarce so I can't do anythin