by kraada » Fri Jan 13, 2012 6:17 pm
You're right that it isn't easy, but it can be done.
The ones you want are:
cnt_f_bet_pairflop: sum(if[(holdem_hand_summary.card_1 % 13 in (holdem_hand_summary.card_2 % 13, holdem_hand_summary.card_3 % 13) OR holdem_hand_summary.card_2 % 13 in (holdem_hand_summary.card_1 % 13, holdem_hand_summary.card_3 % 13)) and holdem_hand_player_statistics.flg_f_bet, 1, 0])
cnt_f_bet_pairflop_opp: cnt_f_bet_pairflop: sum(if[(holdem_hand_summary.card_1 % 13 in (holdem_hand_summary.card_2 % 13, holdem_hand_summary.card_3 % 13) OR holdem_hand_summary.card_2 % 13 in (holdem_hand_summary.card_1 % 13, holdem_hand_summary.card_3 % 13)) and holdem_hand_player_detail.flg_f_open_opp, 1, 0])
Note: this will include flops with trips - you could exclude those if you wanted by adding AND NOT(holdem_hand_summary.card_1 % 13 = holdem_hand_summary.card_2 % 13 AND holdem_hand_summary.card_2 % 13 = holdem_hand_summary.card_3 % 13)
Edit to add: This is in PT3 form - to convert it for use in PT4 change "holdem" to "cash".