There are (at least) three ways to syncronize random values.
The first one is to use the same random seed for different effects. This works as long as you call the random number the same number of times and frequency for all effects.
Another one is to use a random value in one location and then use expressions (or pickwhip) to read and modify that value.
The easiest approach in many cases it to use a single slider control with wiggle expression and then link several effects to it. Might not apply in this case.
—
Looking briefly over the code, the StartVal is probably the one you want to base the other effects on. That is one that changes for every cut but remains fixed through a single clip (StartVal = the beginning time of the clip). That being the case, you could use the StartVal as your random seed, as it would force the random number to be the same throughout the clip (between cuts). Here’s where it gets interesting: You’ll have to copy the entire code that generates the StartVal for any effect you want to use it for. You can’t have one effect reading the StartVal from another effect. Which is why it is preferable to attach the code that generates the StartVal to a Slider Control, as you only have to do it once, and you can pick whip the value of the slider to other effects.
—
This can sound pretty complex if you’re new to expressions…