11-30-2006, 09:49 AM
Could you setup some kind of variable that is a count of how many lights are on? And so when a light control switches to off, it decrements the counter, and then trigger on when that value becomes 0. That way you wouldn't have to keep checking all of the lights individually.