Welcome, Guest. Please login or register.
October 01, 2023, 07:54:47 PM
Home Help Login Register
News:
Shanky Technologies: The poker bot that works!

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

Karma: 4
Posts: 36


« on: November 16, 2013, 10:45:31 PM »

Hi, I need some help with my syntax.

Basically what I need help with is Syntax, and also I only want mid-pair play with certain pre-flop hands.


custom
preflop
When ( hand = A A )
When bets = 0 raise 6 force
When bets = 1 call force
When ( raises >= 1 ) call force
When ( hand = K K )
When bets = 0 raise 6 force
When bets = 1 call force
When ( raises >= 1 ) call force
When ( hand = Q Q )
When bets = 0 raise 6 force
When bets = 1 call force
When ( raises >= 1 ) call force
When ( hand = J J )
When bets = 0 raise 6 force
When bets = 1 call force
When ( raises >= 1 ) call force
When ( hand = T T )
When bets = 0 raise 6 force
When bets = 1 call force
When ( raises >= 1 ) call force
When ( hand = A K  or hand = A Q  or hand = A J  or hand = A T )
When bets = 0 raise 4 force
When bets = 1 call force
When ( raises >= 1 ) call force
When ( hand = K J  or hand = K Q  or hand = Q J )
When bets = 0 Raise 2 force
When bets = 1  and AmountToCall <= 2 call force
When bets = 1  and AmountToCall > 2 fold force
When ( ( raises >= 1 )  and ( AmountToCall <= 2 ) ) call force
When ( ( raises >= 1 )  and ( AmountToCall > 2 ) ) fold force
When ( hand = K T  or hand = Q T  or hand = J T )
When bets = 0 Raise 1 force
When bets = 1  and AmountToCall <= 1 call force
When bets = 1  and AmountToCall > 1 fold force
When ( ( raises >= 1 )  and ( AmountToCall <= 1 ) ) call force
When ( ( raises >= 1 )  and ( AmountToCall > 1 ) ) fold force
When ( hand = A 9  or hand = A 8  or hand = A 7  or hand = A 6  or hand = A 5  or hand = A 4  or hand = A 3  or hand = A 2 )
When bets = 0 Raisemin force
When bets = 1  and AmountToCall <= 2 call force
When bets = 1  and AmountToCall > 2 fold force
When ( ( raises >= 1 )  and ( AmountToCall <= 2 ) ) call force
When ( ( raises >= 1 )  and ( AmountToCall > 2 ) ) fold force
When ( hand = K 9 suited  or hand = Q 9 suited  or hand = Q 8 suited  or hand = J 9 suited  or hand = J 8 suited  or hand = J 7 suited  or hand = T 9 suited  or hand = T 8 suited  or hand = T 7 suited  or hand = T 6 suited  or hand = 9 8 suited  or hand = 9 7 suited  or hand = 9 6 suited  or hand = 9 5 suited  or hand = 8 7 suited  or hand = 8 6 suited  or hand = 8 5 suited  or hand = 8 4 suited  or hand = 7 6 suited  or hand = 7 5 suited  or hand = 7 4 suited  or hand = 7 3 suited  or hand = 6 5 suited  or hand = 6 4 suited  or hand = 6 3 suited  or hand = 6 2 suited  or hand = 5 4 suited  or hand = 5 3 suited  or hand = 5 2 suited )
When bets = 0 call force
When bets = 1  and AmountToCall <= 1 call force
When bets = 1  and AmountToCall > 1 fold force
When ( ( raises >= 1 )  and ( AmountToCall <= 1 ) ) call force
When ( ( raises >= 1 )  and ( AmountToCall > 1 ) ) fold force

When Others
When Others fold force

flop
When ( HaveStraightFlush  or HaveFullHouse  or HaveQuads ) call force
When ( HaveStraight ) call force
When ( HaveFlush ) call force
When ( HaveTopPair or haveoverpair ) raisemax force
When ( HaveFlushDraw ) call force
when paironboard raisemax force
When ( haveset or havetrips or havetwopair ) raisemax force
When (( Have2ndTopPair  or Have3rdTopPair  or Have4thTopPair  or HaveBottomPair  or PairInHand ) and (hand = aq or hand = aj or hand = at or hand = kq or hand = kj or hand = kt or hand = qj or hand = qt or hand = jt)
When bets = 0 RaisePot force
When bets = 1 fold force
When raises >= 1 fold force
When ( hand = A )
When bets = 0 RaisePot force
When bets = 1 fold force
When raises >= 1 fold force
when others
  when others fold force

turn
When ( HaveStraightFlush  or HaveFullHouse  or HaveQuads ) call force
When ( HaveStraight ) call force
When ( HaveFlush ) call force
When ( HaveTopPair or haveoverpair ) raisemax force
When ( HaveFlushDraw ) call force
When ( haveset or havetrips or havetwopair ) raisemax force

When (( Have2ndTopPair  or Have3rdTopPair  or Have4thTopPair  or HaveBottomPair  or PairInHand ) and (hand = aq or hand = aj or hand = at or hand = kq or hand = kj or hand = kt or hand = qj or hand = qt or hand = jt)
when opponentcalledonflop fold force
When bets = 0 RaisePot force
When bets = 1 fold force
When raises >= 1 fold force
When Others
When Others fold force

river
When ( HaveStraightFlush  or HaveFullHouse  or HaveQuads ) raisemax force
When ( HaveStraight ) raisemax force
When ( HaveFlush ) raisemax force
When ( HaveTopPair or haveoverpair ) raisemax force
When ( haveset or havetrips or havetwopair ) raisemax force

When (( Have2ndTopPair  or Have3rdTopPair  or Have4thTopPair  or HaveBottomPair  or PairInHand ) and (hand = aq or hand = aj or hand = at or hand = kq or hand = kj or hand = kt or hand = qj or hand = qt or hand = jt)
when opponentcalledonflop or opponentcalledonturn fold force
When bets = 0 RaisePot force
When bets = 1 fold force
When raises >= 1 fold force
When Others
When Others fold force



Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 378
Posts: 35088



WWW
« Reply #1 on: November 17, 2013, 01:45:19 AM »

You need to be more specific, please.

I can tell you that this:

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

is unnecessary and is the same thing as this:

When raises >= 1   and AmountToCall <= 2  call force

Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
munaham2
Botter
***

Karma: 5
Posts: 127


Shanky Bonus Bots Rock!


« Reply #2 on: November 17, 2013, 10:35:28 PM »

I believe that bets is only used postflop

therefore you need to change it to raises=0 raises=1 raises>=2

when (hand=aa or hand=kk or hand=qq or hand=jj or hand=tt)
when raises=0 raise 6 force
when raises=1 call force                    this will call allins do you want to do this with pkt 10's?
when raises>=2 call force                     ^^

hope this helps

cheers m thumbsup
Logged
55pockets
Wide-Eyed Newbie
*

Karma: 4
Posts: 36


« Reply #3 on: November 23, 2013, 07:21:56 AM »

Well than can one of you help me with this line?

When havepair or havetrips or haveset or havestraight or havetwopair
  When raisesonflop >=1 or betsonflop >=1 and opponentcalledonflop and flushpossibleonflop and fourof1suiteonturn and not haveflushdraw or haveflush fold force
Logged
Efu
Extreme Botter
*****

Karma: 114
Posts: 2599


the shanky breadandbuterland


« Reply #4 on: November 23, 2013, 08:21:32 AM »

Well than can one of you help me with this line?

When havepair or havetrips or haveset or havestraight or havetwopair
  When (raisesonflop >=1 or betsonflop >=1) and opponentcalledonflop and flushpossibleonflop and fourof1suiteonturn and not haveflushdraw or haveflush fold force

polskamans bracked  thumbsup

beginermans read manual  goodluck

and not haveflushdraw or haveflush

 Huh? Huh? Huh?
Logged

Egor
Forum Admin
Extreme Botter
*****

Karma: 378
Posts: 35088



WWW
« Reply #5 on: November 23, 2013, 07:06:59 PM »

Bracket your 'or' conditions

When (havepair or havetrips or haveset or havestraight or havetwopair)
  When (raisesonflop >=1 or betsonflop >=1) and opponentcalledonflop and flushpossibleonflop and fourof1suiteonturn and not (haveflushdraw or haveflush) fold force
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
Pages: [1] Print 
Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Need some 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!