Hi
I want to emulate a badge from Notecaddyedge. It should work like this:
Conditions:
Opponent is in the BB
Opponent was faced with minimum 10 steal attempts from SB
Opponent folds 80% or more
Display:
if all conditions are met: 'vB'
if not: ''
So I just copied the existing foldBBvsSB stat and altered it to:
if((cnt_p_bb_v_sb_fold+cnt_p_bb_v_sb_call+cnt_p_bb_v_sb_3bet)<10,'',if(( cnt_p_bb_v_sb_fold / (cnt_p_bb_v_sb_fold+cnt_p_bb_v_sb_call+cnt_p_bb_v_sb_3bet) ) * 100)>80,'vB','')
I validated it in both value expression and format type, and it was said to be correct.
When I put it in my HUD I get an error:
Error: Expression: Invalid number of arguments passed to function 'if' (Expecting 3, Received 1)
That leaves me clueless. Please help me.
