Formula
Formulas are used to set the size of bets in Betscript, Hotkeys / Betting hotkeys, HUD / Table panels / OnClick / Bet (Custom bet buttons) and for calculations in HUD formulas.
Operators for formulas
^ * / + - mathematical exponentiation, multiplication, division, addition, subtraction. Listed in order of priority.
( ) 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;
betbox - value in the bet box;
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%.
Examples
3bb - 3 big blinds bet or raise.
raise*2.5 - 2.5 times raise
1.5bb+pot-antes - openraise (in most of cases it will work as 3bb plus 1bb per limper).
1bb+pot-antes - openraise (in most of cases it will work as 2.5bb plus 1bb per limper).
2*raise+pot-bb-sb-antes - example of 3bet or squeeze size calculation (in most of cases it will work as 3x 3bet + 1x for caller).
1.5*raise+pot-1.5bb-antes - example of 3bet or squeeze size calculation (in most of cases it will work as 2.5x 3bet + 1x for caller).
raise*3 - x3 raise.
0.5*pot - bet 50% of pot.
x1+1bb - pot size raise plus 1 big blind.
x2 - two pots bet.