MV Triggering common events in a row, then randomizing.

So I'm looking for a way to call common events (for this example we'll use 100 total common events) in order from a single other common event. For example, the first time I run this event it calls common event 1, then 2, then 3...etc. After it runs event 100 it will then pull a randomized common event from between 1-100 from then on. I have this figured out this part by using using the following script:
$gameTemp.reserveCommonEvent($gameVariables.value(X)) and setting X as a random number from 1-100

Is there any way I can go about doing this?
EDIT3: Does Tsukihime's Common Event Queue plugin work for you?

EDIT2: Ok, it seems MV doesn't queue the common events...

Hmmm, since you already have the script with a variable for the second part, can't you do the first part just with event commands:

control variables X = 1
LOOP
$gameTemp.reserveCommonEvent($gameVariables.value(X))
control variables X + 1
IF X > 100 -> break loop

EDIT: Forgot to add to the variable
untested, but should work
JavaScript:
let rdm = Math.randomInt(100) + 1
$gameTemp.reserveCommonEvent(rdm)

Original thread: https://forums.rpgmakerweb.com/threads/triggering-common-events-in-a-row-then-randomizing.169238/