Page 1 of 1

Configure a stat to activate after BB <= 100?

PostPosted: Fri Aug 20, 2010 12:29 pm
by Wills Dad
I'm experimenting with an early game tourney HUD and a late game tourney HUD. To do that, I want to configure a statistic to activate at a certain blind level. For example, suppose I want my HUD to display the number of hands won, but not until the big blind >= 100. And, I don't want it to count hands won before the big blind >= 100.

I thought this would work:

if( var_live_amt_bb >= 100, cnt_won_hand , '' )

But, that just hides the stat until the big blinds = 100, then displays the number of times I've won hands in the entire game.

How would I adjust this to make it count hands won only when the big blind <= 100? I've searched through the forums/how to guides/custom stats repository, and I can't find the solution.

Thanks for your help.

Re: Configure a stat to activate after BB <= 100?

PostPosted: Fri Aug 20, 2010 12:35 pm
by kraada
You'd need to make a custom column that counted only hands won when the big blind is >= 100.

Copy cnt_won_hand and call it cnt_won_hand_late and add "and tourney_holdem_blinds.amt_bb >= 100" inside the if[] statement and then update your cache and use that column and it should work.

Re: Configure a stat to activate after BB <= 100?

PostPosted: Fri Aug 20, 2010 1:24 pm
by Wills Dad
That was a fast! Thanks.

Re: Configure a stat to activate after BB <= 100?

PostPosted: Fri Aug 20, 2010 2:05 pm
by kraada
You're welcome :)

highfalutin