Cardrelated variables return values and suits of specific cards or the number of these cards. Some of these variables are evaluated for each selection separately, some are related to the whole game (such as Poker or HiLo).
The value of a card can be expressed with one of the following items:
2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K, A
Some variables imply returning the suit of a card. Suits are designated in the following way:
Example: AS, 10C, 8S, 2D.
Variable

Type

Description

hilo_count

integer

The number of cards dealt in a HiLo game. This number is equal to 0 at the start of the game.

hilo_higher

integer

The number of cards left in the deck that are higher by value than the last card dealt in a HiLo game.

hilo_lower

integer

The number of cards left in the deck that are lower by value than the last card dealt in a HiLo game.

hilo_[number]

card

The value of a particular HiLo card dealt from the deck. The [number] is the index of the card you want to evaluate, from 1 to the total number of dealt cards (maximum 13). The first dealt card has the index of 1. Examples:
hilo_1, hilo_10.
To get the value of the last dealt card refer to hilo_hilo_count. To get the value of the previously dealt card, refer to hilo_(hilo_count1) and so on.

poker_count

integer

The number of community cards dealt in a Poker or Omaha game. In the first and second round it is equal to 0, then to 3 and so on.

poker[st]_[number][_suit]

card

You can refer to a value and/or suit of a particular community card, from the highest to the lowest by value. The [number] is the index of the card, the highest card having the index of 1 and the lowest having the index that is equal to the number of dealt cards.
The optional prefix "st" can be used to add the suit label to the card value. You can add this prefix if the suit of the card matters for you. For example, the highest community card is a king of spades.
poker_1 = K
pokerst_1 = KS
Additionally, you can obtain only the suit (without the value) of the card by adding the suffix "_suit" to the end of the variable. In the example above to get the suit of the card you'd need to write:
poker_1_suit = S
You can use these variables for comparisons in trigger conditions. For example:
Any Selection's Highest Card is equal to poker_1
or Any Selection's Lowest Card is greater than pokerst_4
or Any Selection's Cards contain values poker_2_suit
This means: find any hand that holds the same card (by value) as the highest community card; or any hand whose lowest card has the same suit as the fourth community card, but a higher value; or any hand that holds the same suit as the second community card.

joint_count

integer

The joint number of community cards in Poker or Omaha and cards in the current hand. So in Round 3 of a Poker game this number will be equal to 5 (2 cards in hand and 3 cards on the flop). Then in Round 4 this number will be 6, and in the final round it'll be 7.

joint[st]_[number][_suit]

card

Address the joint cards of a hand and the flop. This set of variables is useful for analysing possible winning combinations for each hand. The syntax and principle is the same as with the variable poker[st]_[number][_suit]. The difference is that the community cards and the cards of a particular hand are combined and treated as one hand with 5, 6 or 7 cards (depending on the round of the game). The variable with the index 1 will return the highest card in such "virtual" hand, and the variable with the biggest index will return the lowest ranked card.
Example:
s_1_joint_count = 6
s_1_joint_1 = A
s_1_joint_2 = K
s_1_joint_3 = 10
s_1_joint_4 = 5
s_1_joint_5 = 4
s_1_joint_6 = 2
s_2_jointst_1 = AC
s_2_joint_3_suit = S (ten of spades)

hi_card[_suit]

card

The value of the selection's highest card (by value), from 2 to A. This variable is the same as card_1. If the suffix "_suit" is added, the variable will return the suit of the highest card.

lo_card[_suit]

card

The value of the selection's lowest card (by value), from 2 to A. This variable is the same as card_card_count. If the suffix "_suit" is added, the variable will return the suit of the lowest card.

card_count

integer

The number of cards that has been dealt to a selection. This is a selectionrelated variable.
In Card Derby game it returns the number of cards that a selection was dealt after the handicap round, that is handicap cards are not included.

card[st]_[number][_suit]

card

The value of a particular selection's card, from the lowest to the highest. The [number] is the index of the card, where the highest card has the index of 1, the next card by value has the index of 2 and the lowest card's index is equal to the number of cards dealt (card_count).
Examples:
card_2  the value of the second by value card.
card_card_count  the value of the lowest card.
The optional prefix "st" can be used to add the suit label to the card value. You can add this prefix if the suit of the card matters for you. Also, the suffix [_suit] can be used to obtain solely the suit of the card, without its value. Examples:
The highest selection's card is a queen of hearts. Therefore:
card_1 = Q
cardst_1 = QH
card_1_suit = H
Since this variable belongs to a selection, you can also add prefixes that address a particular selection, for instance:
s_1_card_1  the highest card of the first selection in the game
h_1_card_1  the highest card of the favourite in the game
match_1_card_1  the highest card of the first selection that matched the conditions
This is a selectionrelated variable. It will be associated with the selection(s) that matched the previous conditions, or if the condition is first in the list, then with the selection specified in the trigger's "Selections" property.
In Card Derby game this variable does not access handicap cards. To address those cards use the cardhd[st]_[number][_suit] variable.

cardhd_count

integer

The number of handicap cards dealt to a selection in Card Derby (can be either 0 or 3)

cardhd[st]_[number][_suit]

card

The syntax and usage of this variable is similar to that of card[st]_[number][_suit], only it returns the values and suits of handicap cards (only in Card Derby game). You can obtain the value and/or suit of any of 3 cards that are taken out of the deck in the second round of the game for each selection.
So, for example, if Clubs were dealt three handicap cards: 4, K, 10, then the following trigger variables will evaluate to:
cardhd_1 = K, cardhdst_1 = KC, cardhd_1_suit = C
cardhd_2 = 10, cardhdst_2 = 10C, cardhd_2_suit = C
cardhd_3 = 4, cardhdst_3 = 4C, cardhd_3_suit = C

unicds_count

integer

The number of unique card values dealt to selections and other game objects (such as community cards). This number differs from the number of all dealt cards, because some of the cards may have the same value.
For example:
You can see that the cards with the following values are dealt to selections and the flop:
10, 9, 6, 4, 2, 3, 8
Thus in this case unicds_count = 7.
If the community cards were not dealt, this value would be the same, as the card values on the flop are repeated in the hands.
In Card Derby game handicap cards are not included in this category.

unicds_[number]

card value

This variable returns one of the values described in the previous row. The [number] defines the rank of the value, from 1 to unicds_count. The variable unicds_1 will return the highest value, unicds_2  the seconds highest value and so on. Finally, unicds_unicds_count will return the lowest unique card value.
In the picture above the variables would evaluate to the following:
unicds_1 = 10
unicds_2 = 9
unicds_3 = 8
unicds_4 = 6
unicds_5 = 4
unicds_6 = 3
unicds_7 = 2

[card value][><=]_outs

integer

This compound variable can return the number of cards of a particular value (or range of values) that are left in a deck of 54 cards. As cards are dealt to selections and community board, the number of "outs" becomes less and less. For example, at the start of the game there are 4 outs of each card value. This means that all cards are in the deck. Then, if the following cards are dealt to selections:
A, 5 K, 2 J, 2 5,4
There will be 3 outs for "A", 2 for "5", 3 for "K", 2 for "2", 3 for "J" and 3 for "4".
The [card value] is the part that determines the value of the card. It can be a literal from 2 to A or a variable containing the value of a card. Then there may come an operator that expresses the range of values the card may fit in. These operators are ">" (greater than), "<" (less than), ">=" (greater or equal to), "<=" (less or equal to).
Examples:
•  A_outs: the number of aces that left in the deck. 
•  J<_outs: the number of cards less than Jack left in the deck 
•  Q<=_outs: the number of cards having a value of Queen or less that are left in the deck 
•  4>_outs: the number of cards starting from 5 left in the deck. 
•  5>=_outs: this will return the same as the previous variable 
•  unicds_1_outs: the number of cards left in the deck that are equal to the highest unique card dealt in the game 
•  card_2_outs: the number of cards that are equal to the second card of the selection, that are left in the deck. 
•  card_1<=_outs: the number of outs having the same value or less than the highest card of the selection. 
•  s_2_lo_card>_outs: the number of outs that are greater by value than the lowest card of the second selection. 
It is better to demonstrate it on a screenshot (see below).

There are two aces dealt to "Hand 2" and "Hand 4". Therefore "A_outs" is equal to 2 (only 2 aces are left in the deck).
There are 12 cards that are less than J dealt to different selections and community board. There are 36 cards less than J in the deck: (2, 3, 4, 5, 6, 7, 8, 9)*4. Therefore, J<_outs = 36  12 = 24.
The lowest card of the second selection (Hand 2) is 6 of clubs. There are 13 cards higher than 6 dealt to selections and community board. There can be a total of 32 such cards in the deck: (7, 8, 9, 10, J, Q, K, A)*4. Thus s_2_lo_card>_outs is equal to 32  13 = 19.
