I believe exitwhen scripts will end the entire trigger.
I believe exitwhen scripts will end the entire trigger. You'll use If/Then/Else triggers with a RANDOM variable, so add as Then - Action 'Set PreviousNumber = x', where x is the same number as the number being picked. This will get you a trigger like:
Then to prevent it from doing the previous number again you check if the number from RANDOM is greater then or equal to PreviousNumber. If that's so, you set RANDOM = RANDOM + 1, so it uses the actions of the next number. If that number would be 5 (which would be the case if 4 was picked before), you set RANDOM to 1 and do those actions.
- Actions
- Set RANDOM = Random number between 1 and 4
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- RANDOM equal to 1
- Then - Actions
- <YOUR ACTOINS>
- Set PreviousNumber = 1
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- RANDOM equal to 2
- Then - Actions
- <YOUR ACTOINS>
- Set PreviousNumber = 2
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- RANDOM equal to 3
- Then - Actions
- <YOUR ACTOINS>
- Set PreviousNumber = 3
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- RANDOM equal to 4
- Then - Actions
- <YOUR ACTOINS>
- Set PreviousNumber = 4
- Else - Actions