There's no reason to change anything given it has both a random path and a constant one. If you don't want randomness, then set the appropriate flag/skill, and set a range to whatever you want.

Code:

define range, skill1; //lightrange for this light
define randomColorRange, flag4; //on = light will always be a random color and lightrange
//off = light is constant color & lightrange
define blink, flag5; //on = light will blink; off = light will not blink
define randBlink, flag6; //on = light will blink at a random rate if true...blink must be true



I don't know why it wouldn't show up. It works, and I've been using this script in one form or another for years. Maybe one of the defined flag/skills is getting overridden in your other code? It could also have something to do with "distToggle" or "alwaysOn".


My User Contributions master list - my initial post links are down but scroll down page to find list to active links