I'm looking to make a custom stat that tracks how often a player opens with either a limp or a raise first in (i.e. tracking how often a player does not open fold). This would be especially useful in blind vs. blind scenarios in situations where the small blind has a mixed strategy of both open raising and open limping.
There is no "PF Open Fold" stat., so I was thinking of scripting something along the lines of:
((cnt_p_raise_first_in + cnt_p_limp)/cnt_p_open_opp) * 100
However, the problem arises with the cnt_p_limp variable counting all preflop limps --including those with previous callers -- rather than just the open limps.
Any tips for getting this to work?
