Welcome, Guest. Please login or register.
January 24, 2022, 11:44:08 PM
Home Help Login Register
News:

Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Need help with syntax 0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: Need help with syntax  (Read 3074 times)
55pockets
zeros
*

Karma: 4
Posts: 36


« on: May 26, 2015, 06:35:13 PM »

Hi my bot is doing strange things like calling 3 bets with low suited connectors and such, can someone help me with syntax?

custom
PreFlop

When ( hand = A A ) raisemax force
When ( hand = K K ) raisemax force
When ( hand = Q Q ) raisemax force
When ( hand = J J ) raisemax
When ( hand = T T ) raisemax
When ( hand = A K  or hand = A Q  or hand = A J  or hand = A T )
When raises = 0 raise 4 force
When ( raises >= 1 ) call force
When ( hand = K J  or hand = K Q  or hand = Q J )
When raises = 0 Raise 3 force
When ( ( raises >= 0 )  or ( AmountToCall <= 4 ) ) call force
When ( AmountToCall > 2 )  fold force
When ( hand = K T  or hand = Q T  or hand = J T )
When raises = 0 Raise 1 force
When ( ( raises >= 1 )  or ( AmountToCall <= 2 ) ) call force
When ( ( raises >= 1 )  or ( AmountToCall > 2 ) ) fold force
When ( hand = K 9 suited  or hand = Q 9 suited or  hand = J 9 suited)
When raises = 0 call force
When ( ( raises >= 1 )  or ( AmountToCall <= 1 ) ) call force
When ( ( raises >= 1 )  or ( AmountToCall > 1 ) ) fold force
When ( hand = A 9 suited  or hand = A 8 suited  or hand = A 7 suited  or hand = A 6 suited  or hand = A 5 suited  or hand = A 4 suited  or hand = A 3 suited)
When raises = 0 Raise 2 force
When ( ( raises >= 1 )  or ( AmountToCall <= 2 ) ) call force
When ( ( raises >= 1 )  or ( AmountToCall > 2 ) ) fold force
When (Hand = Q 8 Suited or hand = J 8 Suited or Hand = J 7 Suited or Hand = T 9 suited or Hand = T 8 suited or Hand = T7 suited or Hand = T6 suited or Hand = 98 suited or Hand = 97 suited or Hand = 9 6 suited or Hand = 95 suited or Hand = 87 suited or Hand = 86 suited or Hand = 85 suited or Hand = 84 suited or Hand = 76 suited or Hand = 75 suited or Hand = 74 suited or Hand = 73 suited or Hand = 65 suited or Hand = 64 suited or Hand = 63 suited or Hand = 62 suited or Hand = 54 suited or Hand = 53 suited or Hand = 52 suited)
  When raises = 0 Call force
  When Raises >=1 or AmountToCall <= 1 Call force
  When Raises >=1 or AmountToCall > 1 Fold force
when (hand = 9 9 or hand = 8 8 or hand = 7 7 or hand = 6 6 or hand = 5 5  or hand = 4 4  or hand = 3 3  or hand = 2 2 )
when raises < 1 raise 6 force
when raises <= 1  or AmountToCall <= 6 Call force
when raises <= 1  or AmountToCall > 6 fold force
when raises > 1 fold force   
Logged
riverrat
Experienced Botter
*****

Karma: 29
Posts: 405

Shanky Bonus Bots Rock!


« Reply #1 on: May 26, 2015, 07:32:34 PM »

I am not sure but I think these two lines will give you trouble, they contain a condition and an action, will be acted on before the lines following if the game meets those conditions

When ( ( raises >= 1 )  or ( AmountToCall <= 2 ) ) call force
When ( ( raises >= 1 )  or ( AmountToCall > 2 ) ) fold force

good luck
Logged
Efu
Extreme Botter
*****

Karma: 114
Posts: 2602


the shanky breadandbuterland


« Reply #2 on: May 26, 2015, 08:06:02 PM »

When ( ( raises >= 1 )  or ( AmountToCall <= 1 ) ) call force

 Undecided Huh? Shocked banghead banghead banghead Grin lol

When ( ( raises >= 1 )  amd ( AmountToCall <= 1 ) ) call force  thumbsup goodluck party
Logged

sngbot
Moderator
Extreme Botter
*****

Karma: 138
Posts: 1483


« Reply #3 on: May 26, 2015, 08:27:48 PM »

custom
preflop

when ( hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT ) raisemax force

when ( hand = AK or hand = AQ or hand = AJ or hand = AT )
 when raises = 0 raise 4 force
 when raises >= 1 call force

when ( hand = KJ or hand = KQ or hand = QJ )
 when raises = 0 raise 3 force
 when raises >= 1 and amountTocall <= 4 call force
 when amountTocall > 4 fold force

when ( hand = KT or hand = QT or hand = JT )
 when raises = 0 raise 1 force
 when raises >= 1 and amountTocall <= 2 call force
 when amountTocall > 2 fold force

when ( hand = K9 suited or hand = Q9 suited or hand = J9 suited )
 when raises = 0 call force
 when raises >= 1 and amountTocall <= 1 call force
 when amountTocall > 1 fold force

when ( hand = A9 suited or hand = A8 suited or hand = A7 suited or hand = A6 suited or hand = A5 suited or hand = A4 suited or hand = A3 suited )
 when raises = 0 raise 2 force
 when raises >= 1 and amountTocall <= 2 call force
 when amountTocall > 2 fold force

when ( hand = Q8 Suited or hand = J8 Suited or hand = J7 Suited or hand = T9 suited or hand = T8 suited or hand = T7 suited or hand = T6 suited or hand = 98 suited or hand = 97 suited or hand = 96 suited or hand = 95 suited or hand = 87 suited or hand = 86 suited or hand = 85 suited or hand = 84 suited or hand = 76 suited or hand = 75 suited or hand = 74 suited or hand = 73 suited or hand = 65 suited or hand = 64 suited or hand = 63 suited or hand = 62 suited or hand = 54 suited or hand = 53 suited or hand = 52 suited )
 when raises = 0 call force
 when raises >=1 and amountTocall <= 1 call force
 when amountTocall > 1 fold force

when ( hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = 44 or hand = 33 or hand = 22 )
 when raises = 0 raise 6 force
 when raises <= 1 and amountTocall <= 6 call force
 when ( raises > 1 or amountTocall > 6 ) fold force

Smiley
« Last Edit: May 27, 2015, 06:16:34 PM by sngbot » Logged
55pockets
zeros
*

Karma: 4
Posts: 36


« Reply #4 on: May 28, 2015, 03:00:19 AM »

Thanks guys, this was really helpful.
Logged
Pages: [1] Print 
Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Need help with syntax
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!