Hi Chuck. Can you tell me a bit more about what you're trying to achieve?
What will be the trigger to start the loop?
And how will the loop end? Should it run a certain number of times, or continue until something else happens?
And finally what do you want the lights to do during the loop - are they turning on and off, changing brightness, changing colour?