Do I use FirstCallerPosition or LastCallerPosition if there is only one caller? Please take a look at the code below and let know if it look okay:
WHEN OpponentsAtTable = 4 AND InButton AND Calls = 1 AND LastCallerPosition = 3 AND Raises = 0 AND (hand$AA OR hand$KK OR hand$QQ OR hand$AK OR hand$AQ OR hand$KQsuited OR hand$A5suited OR hand$A4suited OR hand$A3suited OR hand$A2suited) Allin FORCE
FirstCallerPosition Vs. LastCallerPosition
-
- First blood
- Posts: 19
- Joined: Fri Jan 27, 2023 1:35 pm
Re: FirstCallerPosition Vs. LastCallerPosition
LastCallerPosition is ok probably, but there is no such command as "Allin force". use RaiseMax Force.Partypoker562 wrote: ↑Tue Mar 14, 2023 8:21 am Do I use FirstCallerPosition or LastCallerPosition if there is only one caller? Please take a look at the code below and let know if it look okay:
WHEN OpponentsAtTable = 4 AND InButton AND Calls = 1 AND LastCallerPosition = 3 AND Raises = 0 AND (hand$AA OR hand$KK OR hand$QQ OR hand$AK OR hand$AQ OR hand$KQsuited OR hand$A5suited OR hand$A4suited OR hand$A3suited OR hand$A2suited) Allin FORCE
when you are not sure, make a model of situation in ManualMode and use f$debug tab to monitor functions, this approach always answers any question
-
- First blood
- Posts: 19
- Joined: Fri Jan 27, 2023 1:35 pm
Re: FirstCallerPosition Vs. LastCallerPosition
I tried manual mode. I'm having difficulty using it. I do have the manual, but it's limited. I have another code question for you.
I want to RaiseMax when I have hand$AA and position = 4 just called and the button went all-in. Does this look right to you?
WHEN OpponentsAtTable = 4 AND InBigBlind AND Calls = 1 AND LastCallerPosition = 4 AND OpponentIsAllin AND LastRaiserPosition = 2 AND hand$AA RaiseMax FORCE
I want to RaiseMax when I have hand$AA and position = 4 just called and the button went all-in. Does this look right to you?
WHEN OpponentsAtTable = 4 AND InBigBlind AND Calls = 1 AND LastCallerPosition = 4 AND OpponentIsAllin AND LastRaiserPosition = 2 AND hand$AA RaiseMax FORCE
Re: FirstCallerPosition Vs. LastCallerPosition
yes, you can also use symbols like MiddlePosition3Calling and ButtonRaising.Partypoker562 wrote: ↑Thu Mar 16, 2023 3:38 am I tried manual mode. I'm having difficulty using it. I do have the manual, but it's limited. I have another code question for you.
I want to RaiseMax when I have hand$AA and position = 4 just called and the button went all-in. Does this look right to you?
WHEN OpponentsAtTable = 4 AND InBigBlind AND Calls = 1 AND LastCallerPosition = 4 AND OpponentIsAllin AND LastRaiserPosition = 2 AND hand$AA RaiseMax FORCE
Look for those functions in OpenPPL_Library_Technical_Position_Symbols.ohf file, inside Warbot folders.
more about MM here https://documentation.help/OpenHoldem/ManualMode.html (it's essential to master this thing if you want to code)