Statement: Condition, Type: Supporting
Won each
Format: initial-condition-statement source-support-condition Won each
where
-
initial-condition-statement = any valid condition statement that use these identifiers listed below:
-
source-support-condition = any one the valid series of supporting condition identifiers listed below:
Description
The Won each identifier reads the source-support-condition layout value and determines the following:
-
a unit bet was placed on the layout during a spin occurrence
and
-
a number appeared that caused the layout to win the bet immediately within the last spin.
The system keeps track of how many times a layout has won a bet in a row using an internal win variable. The Won each identifier is used to reference the win variable to determine if the layout has won a bet now when performing a logical comparison.
When performing a won each comparison for the source-support-condition identifier, if the condition outcome is evaluated as true and the program control will be passed to the body of the condition block.
Example
We want to know if the red layout has won a bet now and if so, keep track of the win count with a data record win counter. The following example will perform this task.
RX Script | Copy Code |
---|---|
If Red has Won each time begin Add 1 to record "win counter" data end |