Maniac: VPIP >= 40%, PFR/VPIP ratio >=50%.
Whale: VPIP >= 40%, PFR/VPIP ratio <50%.
Tag: VPIP 20-40%, PFR/VPIP ratio >=75%.
Fish: VPIP 20-40%, PFR/VPIP ratio <75%.
Nit: VPIP <20%.
I've read through the tutorial on custom stats, and I think I'm close, but I'm just not quite sure how the syntax and punctuation works. (I'm definitely a newbie when it comes to programming!) I keep getting an error saying there's an "invalid number of arguments." Can you help? Here's what I've got so far. Thanks!
- Code: Select all
if (cnt_hands > 100,
if ((cnt_vpip / (cnt_hands - cnt_walks)) * 100 >= 40,
if (((cnt_pfr / cnt_pfr_opp) * 100) / ((cnt_vpip / (cnt_hands - cnt_walks)) * 100) >= 0.5, format('Maniac'),
format('Whale')),
if ((cnt_vpip / (cnt_hands - cnt_walks)) * 100 >= 20 and (cnt_vpip / (cnt_hands - cnt_walks)) * 100 < 40,
if (((cnt_pfr / cnt_pfr_opp) * 100) / ((cnt_vpip / (cnt_hands - cnt_walks)) * 100) >= 0.75, format('Tag'),
format('Fish'))),
format('Nit')),
format('n/a'))
