Statement: Condition, Type: Supporting
Won
Format: initial-condition-statement source-support-condition Won integer
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:
-
-
integer = any numeric value.
Description
The Won 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 for integer times in a row.
The system keeps track of how many times a layout has won a bet in a row using an internal win variable. The Won identifier is used to reference the win variable along with the integer to perform a logical comparison.
When performing a won comparison along with the integer value 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 black layout has won a bet exactly 2 times in a row and if so, place a 10 unit bet on the red layout. The following example will perform this task.
RX Script | Copy Code |
---|---|
If Black has Won exactly 2 times in a row begin Put 10 units on Red end |