Formula

Formulas can be used in 888Caption to set the size of bets and in some other cases.

They can be used:

- in the betting hotkeys Hotkeys / Betting hotkeys,

- in on-screen betting buttons HUD / Table panels / OnClick / Bet (formula),

- in Betscript / Advanced,

- in HUD / Table panels to display calculated value - the text of formula must be in {}

- to highlight table by color frames in Table highlight / Formula.


Operators for formulas

^ * / + - mathematical exponentiation, multiplication, division, addition, subtraction. Listed in order of priority.

# - randomization operator (use 0.5#0.75 to generate random in 0.5..0.75 range, etc).

( ) brackets to change the priority of execution of mathematical operations.


Variables for formulas

pot - total pot value;

antes - the sum of all antes;

spot - pot value at start of current street (total pot without bets on current street);

raise - size of the last bet or raise on current street (1bb on unopened preflop);

stack - current stack of hero;

effStack - effective stack;

hbet - hero's bet on the current street (includes blinds);

call - the size of the bet that the hero needs to call in the current game situation;

sb - small blind value;

bb - big blind value;

bb also can be used as postfix for the values defined in big blinds (ex. 3bb for 3 big blinds);

x - prefix for pot size bet calculation (ex. x1.5 for one and a half pot bet, etc). If you need to do it not with a direct but with a calculated value, then specify the formula for calculation in parentheses - for example, x(stack/25+1)

pot and x1 are a bit different. Pot is a simple current total pot value, but x1 is a complex function. Pot size bet formula also used by default bet buttons in a poker client. It allows you to use bet size at which theopponent will have a predefined odds to call. For example, after pot sized bet (x1) your opponent will have odds 2:1 or 33%.

Also any Table panels tag can be used as variable in HUD / Table panels {formulas}, and in Table highlight / Formula.

Examples:

3.5bb - 3.5 big blinds

(3+nc)*1bb - 3 big blinds plus one blind per limp

pot*0.5+1 - half of pot plus one dollar (or one chip for tournament)

pot*(0.5#0.7) - bet of random size in the range from 50 to 70 percent of pot

raise*(3+nc) - 3 times raise (plus one time per caller)

effStack/3 - a third of the effective stack

x1 - pot bet