You can change the count of periods! Just change this variable:
Dim count_time_periods As Integer = 3
Each Perion begin define only begin. The end of the period is defined by the beginning of the next period.
One period could across 00:00 timestamp. For example, if a period has start time at 22:00 and the next period has 08:00 — so, the first period will be working from 22:00 to 08:00. Another words, 22:00...24:00 + 00:00...08:00
This script works like the vizrt original Omo plugin but only turns active states of child containers by the current system time.
You can use this script, for examples, to organize:
"Light/Dark" themes in your graphics
theme swither if you have a stable schedule