Scheduling lights with more randomness

If you do NOT add the proper once, yes it can.

Here are some examples:

----START OF RULE
START REP
    DO REPEATED ACTION 1
	DO REPEATED ACTION 2
END-REP
----END OF RULE

Is the same as:

----START OF RULE
START REPEAT
	DO REPEATED ACTION 1
	DO REPEATED ACTION 2
----END OF RULE

However, let's say you want to execute one more thing AFTER the repeat finished, that would correctly look like this:

----START OF RULE
START REP
	DO REPEATED ACTION 1
	DO REPEATED ACTION 2
END-REP
DO ACTION THAT IS NOT REPEATED
----END OF RULE

Here, the END-REP is very important. If the END-REP wouldn't be there that last entry would become part of the repeat and would be executed with the repeat over and over again.

It would be executed as this:

----START OF RULE
START REPEAT
	DO REPEATED ACTION 1
	DO REPEATED ACTION 2
	DO ACTION THAT IS NOT REPEATED BUT I AM DOING IT REPEATED SINCE I FORGOT THE END REP
----END OF RULE

Which is not what you wanted. It is literally limited to what is the last entry of the rule, not just of the repeat or the if. Bottom line, get into the habit of adding the END-IF and END-REP and you will protect yourself of the rule doing something that you didn't want it to do

Add the proper END-... and your thumbs stay intact