Thanks for this. This method works for me. Also I really like the way you defined the local variables. I have several lighting pistons that have pretty similar code every time I clone a piston it’s a PIA to go through and redefine everything. I have global variables for timers and light levels, but you just opened up a new way for me to simplify my code. Thanks!