So I am trying set up some global variables. Basically I am setting a global variable the holds the lights in in the bedroom.
If I put in a if statement that says if @bedroomLights do whatever, then the piston will never fire. Yet if I make a loval variable and use that instead of the global then the piston will fire.
The global variable will work farther down in the piston just not for the trigger. Am I missing something?