Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by 4StarGen » Wed Sep 25, 2024 7:39 am
I'd like to code a stat that retrieves holecards if a player openshoves and got called, if the player openshoved but no one called I'd like to have a text displayed. For some reason the stat below only shows the instances where he got called
- Code: Select all
string_agg(
CASE
WHEN cash_hand_player_statistics.amt_p_raise_made = cash_hand_player_statistics.amt_before
and cash_hand_player_statistics.flg_p_first_raise THEN lookup_hole_cards.hole_cards
WHEN lookup_hole_cards.hole_cards = NULL THEN 'no cards'
ELSE NULL
END,
','
)
-
4StarGen
-
- Posts: 939
- Joined: Sat Mar 08, 2014 6:58 am
-
by 4StarGen » Wed Sep 25, 2024 11:38 am
Nevermind, I've figured it out
-
4StarGen
-
- Posts: 939
- Joined: Sat Mar 08, 2014 6:58 am
-
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 17 guests