Prefold

Coding-related discussion: OpenPPL (Poker Programming Language) and internal OpenHoldem-script
Post Reply
Paradox
Top Kicker
Top Kicker
Posts: 62
Joined: Wed Mar 21, 2018 10:34 pm

Prefold

Post by Paradox » Tue Feb 12, 2019 5:02 am

Hello,

I have the below code and wondering if its correct? Does it matter where I put the handlist?

##f$prefold##
WHEN AmountToCall > 0 and list_prefold and betround = 1 Return true FORCE

##list_prefold##
Q5s Q4s Q3s Q2s
J6s J5s J4s J3s J2s
T7s T6s T5s T4s T3s T2s
96s 95s 94s 93s 92s
85s 84s 83s 82s
74s 73s 72s
63s 62s
53s 52s
42s
K6o K5o K4o K3o K2o
Q6o Q5o Q4o Q3o Q2o
J6o J5o J4o J3o J2o
T7o T6o T5o T4o T3o T2o
96o 95o 94o 93o 92o
85o 84o 83o 82o
75o 74o 73o 72o
64o 63o 62o
53o 52o
43o 42o
32o

Alex
Site Admin
Site Admin
Posts: 1951
Joined: Sun Mar 26, 2017 5:58 pm

Re: Prefold

Post by Alex » Tue Feb 12, 2019 5:49 am

looks fine.
does not matter where to put handlist

Paradox
Top Kicker
Top Kicker
Posts: 62
Joined: Wed Mar 21, 2018 10:34 pm

Re: Prefold

Post by Paradox » Tue Feb 12, 2019 7:15 am

It's not working. Any ideas on what could be wrong?

Alex
Site Admin
Site Admin
Posts: 1951
Joined: Sun Mar 26, 2017 5:58 pm

Re: Prefold

Post by Alex » Tue Feb 12, 2019 7:36 am

Paradox wrote:
Tue Feb 12, 2019 7:15 am
It's not working. Any ideas on what could be wrong?
"P" flag is activated in the bottom-left corner of bot? It means that bot recognizes prefold button

rem54
Botter for life
Botter for life
Posts: 564
Joined: Fri Apr 27, 2018 5:19 am

Re: Prefold

Post by rem54 » Wed Feb 13, 2019 10:11 pm

Is AmountToCall set before it's your turn to act?

I use currentbet != 0

Alex
Site Admin
Site Admin
Posts: 1951
Joined: Sun Mar 26, 2017 5:58 pm

Re: Prefold

Post by Alex » Thu Feb 14, 2019 12:59 am

rem54 wrote:
Wed Feb 13, 2019 10:11 pm
Is AmountToCall set before it's your turn to act?

I use currentbet != 0
i think AmountToCall>0 can be omitted, because otherwise "prefold" button will not appear anyway

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests