Ok thank you, i did a copy paste on your code and it worked, must've been a typo...
But now I'm trying to build somewhat further on your code...again...no succes. I want to give players with a VPIP of 10 or more a score of 2, I tried this:
if[ (cnt_vpip / cnt_hands) * 100 < 10, 0.5, (cnt_vpip / cnt_hands) * 100 >= 10, 2]
and this:
if[ (cnt_vpip / cnt_hands) * 100 < 10, 0.5, (cnt_vpip / cnt_hands) * 100 >= 10, 2, 1]
and this:
if[ (cnt_vpip / cnt_hands) * 100 < 10, 0.5]
if[ (cnt_vpip / cnt_hands) * 100 >= 10, 2]
and this:
if[ (cnt_vpip / cnt_hands) * 100 < 10, 0.5, 1]
if[ (cnt_vpip / cnt_hands) * 100 >= 10, 2, 1]
And then some more...
None worked
. As you can see I'm a noob at this but figuring out how this works is very important to me
After I get this code right I want to add other stats as well, such as PFR. Could you give me an example of how to give a player with vpip between 20 and 40 and a pfr between 5 and 10 a score of 5 and a player with the same vpip but with a pfr between 15 and 20 a score of 3. I feel I can get everything I want out of a code for that.
Thanks again for your time!