Hello, I want to make some custom stats, bb/100 for various pot size thresholds. eg:
bb/100 <20bb
bb/100 20-40bb
bb/100 60bb+
How can I do this? I'm struggling to find any existing stats that can be modified.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
DOMIATED89 wrote:How will I be able to filter pot sizes into columns with cash_hand_summary.amt_pot?
Eg: If I want 1 column for BB/100 0-15bb, 1 column for 16-30bb etc. How do I specify the range of the pot size?
if[ NOT(cash_hand_player_statistics.flg_f_saw), 1, if[ (cash_hand_player_statistics.flg_f_saw and not cash_hand_player_statistics.flg_t_saw), 2, if[ (cash_hand_player_statistics.flg_t_saw and not cash_hand_player_statistics.flg_r_saw), 3, if[ (cash_hand_player_statistics.flg_r_saw and not cash_hand_player_statistics.flg_showdown), 4, if[ cash_hand_player_statistics.flg_showdown, 5]]]]]
if(this = 1, format('Preflop'), if(this = 2, format('Flop'), if(this = 3, format('Turn'), if(this = 4, format('River'), if(this = 5, format('Showdown'), format('Error'))))))
format('{1} Street(s)', this)
DOMIATED89 wrote:I'm confused why this is not valid? It follows the same format as "val_p_stack_size".
if[NOT cash_hand_player_statistics.flg_f_saw, 1, if[cash_hand_player_statistics.flg_f_saw and not cash_hand_player_statistics.flg_t_saw, 2, if[cash_hand_player_statistics.flg_t_saw and not cash_hand_player_statistics.flg_r_saw, 3, if[cash_hand_player_statistics.flg_r_saw and not cash_hand_player_statistics.flg_showdown, 4, if[cash_hand_player_statistics.flg_showdown, 5, 6]]]]]
Flag_Hippo wrote:DOMIATED89 wrote:I'm confused why this is not valid? It follows the same format as "val_p_stack_size".
That is not validating because it is missing the final else condition:
- Code: Select all
if[NOT cash_hand_player_statistics.flg_f_saw, 1, if[cash_hand_player_statistics.flg_f_saw and not cash_hand_player_statistics.flg_t_saw, 2, if[cash_hand_player_statistics.flg_t_saw and not cash_hand_player_statistics.flg_r_saw, 3, if[cash_hand_player_statistics.flg_r_saw and not cash_hand_player_statistics.flg_showdown, 4, if[cash_hand_player_statistics.flg_showdown, 5, 6]]]]]
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: Google [Bot] and 28 guests