I’m trying to create a piston that turns lights at sunset, plus or minus 15 minutes. I’m using the random function (-15 + random(15)) but the evaluation in webcore is giving me very strange numbers, like -420000. Why is it evaluating to that?
How do I create a piston that will run at sunset + or - 15 minutes?