Shanky Technologies Poker Bot Support Forum

General Category => Working Profiles => Topic started by: Mrphil on February 20, 2022, 05:07:12 AM



Title: Sam SNG Restoration Profile (9-man Single Table SNG)
Post by: Mrphil on February 20, 2022, 05:07:12 AM
So, by request, I've decided to restore a profile that was originally in the free section on the old forum and then taken off for some reason.
I had since made some changes to it, and I haven't heard from the creator in OVER 5 years, so I'm pretty sure he is gone.
As this profile was never sold, I believe it is okay to restore, but Egor, you can message me if you disagree (and/or take it down).

My changes are near the top of each street and marked with my name. If you have an issue with any, you can post below to improve it (as well as any profile issues).

I also have sections commented in the preflop and flop code that I had made to play $1 SNGs from an article I had read years ago. If you would like to play this version, just uncomment these lines in the code (it's left off by default as I wanted this to be the original profile code).

This profile is intended for 9 man SINGLE TABLE Non-turbo Sngs (but it will also work on turbo). I had a version that would play on bodog beginners, but I need to edit it more before it will work again.

Please use the mtt.ppl as a safety net for this.
You can use this link to download the .ppl: http://bonusbots.com/mttppl.zip (http://bonusbots.com/mttppl.zip)

Give it a try and reply with bot logs if you find things (and I'll work on a fix):

PLEASE USE CHROME OR EDGE AND NOT FIREFOX TO COPY CODE BELOW

Code:
MaxSessionHands = 10000
MaxSessionTime = 7200
MaxStackSize = 1000000
BathroomBreakAfter = 999
BathroomBreakTime = 2
SitOutWhenOpponentsAreLessThan = 1
MakePotSizedPreFlopRaisesWhen = 7
FoldToPre-FlopRaisesForAQAJsKQ = OFF
FoldPost-FlopBelowTopPairToAnyBetOrRaise = OFF
FoldToPost-FlopRaisesWithUnpairedBoardsFor = 2
FoldToPost-FlopRaisesWithPairedBoardsFor = 4
NeverBetTurnOrRiverWithHandBelow = 2
NeverBetFlopWithHandBelowMiddlePairWhen = 1
NeverBetFlopWithHandBelowMiddlePairStackSize = 100000
NeverCallPairedBoardsWithHandBelow = 5
NeverCallFlushPossibleBoardsWithHandBelow = 6
FoldToPre-FlopRaiseWith55Or66When = 3
FoldToPre-FlopRaiseWith77Or88When = 3
FoldToPre-FlopRaiseWith99OrTTWhen = 3
FoldToPre-FlopRaiseWithJJOrQQWhen = 2
FoldToPre-FlopRaiseWithAKWhen = 3
FoldToPre-FlopRaiseWithAQsWhen = 2
FoldToPre-FlopRaiseWithAKsWhen = 3
FoldToPre-FlopRaiseWithKQsWhen = 2
SuperTightPlay = OFF
SemiSuperTightPlay = OFF
NoLimp = 15
AggressivePreFlop = 7
AggressivePostFlop = 3
AggressivePreFlopStackSize = 1000000
AggressivePostFlopStackSize = 1000000
MiningForSets = 5
PostFlopinBlindsOverride = 3
PreFlopReRaiseOverride = OFF
MinBetOverride = 6
FoldOrGoAllInWhenOpponentsAfterFoldsLessThan = 5
FoldOrGoAllInWhenOpponentsAfterFoldsLessThanStackSize = 1000000
ApplyFoldOrAllInAfter = 0
FoldOrGoAllInWhenOpponentsAtTableLessThan = 5
FoldOrGoAllInWhenOpponentsAtTableLessThanStackSize = 1000000
AlwaysCallWhenOpponentsRaiseIsLessThan = 3
AlwaysCallWhenStackSizeIsLessThanTotalInvested = 90
Verbose = ON
AutoPlay = ON
UserDefinedGameType = 0
UseOcrAtFullTilt = OFF
AutoRebuyAtUB = ON
AlwaysAskForTableName = OFF
EnableFoldInTurn = ON
DefaultBetSizeFlop = 100
DefaultBetSizeTurn = 75
DefaultBetSizeRiver = 60
UserDefinedGameType = 3

custom

preflop

// Version 4.2 9_13_22

// Pot Commited //

when BotsLastAction = Raise and BigBlindSize <= 40 and StackSize <= 20 and TotalInvested >= 100% StackSize RaiseMax Force
when BotsLastAction = Raise and BigBlindSize <= 60 and StackSize <= 19 and TotalInvested >= 100% StackSize RaiseMax Force
when BotsLastAction = Raise and BigBlindSize <= 80 and StackSize <= 17 and TotalInvested >= 100% StackSize RaiseMax Force
when BotsLastAction = Raise and BigBlindSize <= 100 and StackSize <= 15 and TotalInvested >= 100% StackSize RaiseMax Force
when BotsLastAction = Raise and BigBlindSize <= 120 and StackSize <= 13 and TotalInvested >= 100% StackSize RaiseMax Force
when BotsLastAction = Raise and BigBlindSize <= 160 and StackSize <= 11 and TotalInvested >= 100% StackSize RaiseMax Force
when BotsLastAction = Raise and BigBlindSize <= 200 and StackSize <= 9 and TotalInvested >= 100% StackSize RaiseMax Force
when BotsLastAction = Raise and BigBlindSize <= 300 and StackSize <= 7 and TotalInvested >= 100% StackSize RaiseMax Force
when BotsLastAction = Raise and BigBlindSize <= 400 and StackSize <= 5 and TotalInvested >= 100% StackSize RaiseMax Force
when BotsLastAction = Raise and BigBlindSize > 400 and StackSize <= 3 and TotalInvested >= 100% StackSize RaiseMax Force
when TotalInvested >= 115% StackSize and (Raises > 0) RaiseMax Force

// Auto Fold Hands

when (Hand = J6 or Hand = J5 or Hand = J4 or Hand = J3 or Hand = J2) Fold Force
when (not OpponentsAtTable = 1) and (Hand = Q6 or Hand = Q5 or Hand = Q4 or Hand = Q3 or Hand = Q2) Fold Force
when (not OpponentsAtTable = 1) and (Hand = K6 or Hand = K5 or Hand = K4 or Hand = K3 or Hand = K2) Fold Force
when (Hand = T5 or Hand = T4 or Hand = T3 or Hand = T2) Fold Force
when (Hand = 94 or Hand = 93 or Hand = 92) Fold Force
when (Hand = 83 or Hand = 82 or Hand = 72) Fold Force

//using fulltilt sng strategy for $1 sngs ...made by phil
//when Bigblindsize <= 40 and stacksize > 22 and OpponentsAtTable > 3 and (hand = AA or hand = KK or hand = AK or hand = QQ or hand = JJ)
//  when amounttocall >= 10% stacksize Raisemax force
//  when raises = 1 and calls = 0 Raise 300% force
//  when raises = 1 and callssincelastraise >= 1 Raisemax Force
//  when raises > 1 Raisemax force
//  when calls = 3 and raises = 0 and stacksize <= 24 Raisemax Force
//  when calls = 4 and raises = 0 and stacksize <= 27 Raisemax Force
//  when calls = 5 and raises = 0 and stacksize <= 30 Raisemax Force
//  when calls = 6 and raises = 0 and stacksize <= 33 Raisemax Force
//  when calls = 0 and raises = 0 Raise 5 Force
//  when calls = 1 and raises = 0 Raise 6 Force
//  when calls = 2 and raises = 0 Raise 7 Force
//  when calls = 3 and raises = 0 Raise 8 Force
//  when calls = 4 and raises = 0 Raise 9 Force
//  when calls = 5 and raises = 0 Raise 10 Force
//  when calls = 6 and raises = 0 Raise 11 Force
//  when calls >= 7 and raises = 0 Raisemax Force
  
//when Bigblindsize <= 40 and stacksize > 22 and OpponentsAtTable > 3 and (hand = AQ or hand = AJ suited or hand = KQ suited or hand = TT or hand = 99 or hand = 88 or hand = 77)
//  when totalinvested >= 33% stacksize Raisemax force
//  when (stilltoact = 2 or stilltoact = 3) and botslastaction = none and raises = 0 and calls = 0 Raise 3 Force
//  when (stilltoact = 2 or stilltoact = 3) and botslastaction = none and raises = 0 and calls = 1 Raise 4 Force
//  when (stilltoact = 2 or stilltoact = 3) and botslastaction = none and raises = 0 and calls = 2 Raise 5 Force
//  when (stilltoact = 2 or stilltoact = 3) and botslastaction = none and raises = 0 and calls = 3 Raise 6 Force
//  when (stilltoact = 2 or stilltoact = 3) and botslastaction = none and raises = 0 and calls = 4 Raise 7 Force
//  when (stilltoact = 2 or stilltoact = 3) and botslastaction = none and raises = 0 and calls = 5 Raise 8 Force
//  when (stilltoact = 2 or stilltoact = 3) and botslastaction = none and raises = 0 and calls = 6 Raise 9 Force
//  when others fold force

//when InSmallBlind and bigblindsize <= 40 and OpponentsAtTable > 3 and stacksize > 22
// when amounttocall <=1 and calls >=2 and raises = 0 and (hand = AK or hand = AQ or hand = AJ or hand = KQ or hand =T9 suited or hand = 98 suited or hand =87 suited or hand = 76 suited or hand = A suited or hand = KJ suited or hand = QJ or hand = JT or hand = KT suited or hand = QT suited) Call Force
// when pairinhand and amounttocall <=1 and calls >=4 and raises =0 Call Force


//when InBigBlind and bigblindsize <= 40 and OpponentsAtTable > 3 and stacksize > 22
// when amounttocall = 1 and botslastaction = none and (hand = A or hand = KQ or hand = JT suited or hand = QJ suited) Call Force
//when bigblindsize <= 40 and OpponentsAtTable > 3 and stacksize > 22
//  when others fold force

// Large Stack Protection

when OpponentsAtTable >= 6
// Average Player Stack On table is 1930 (using 2500 as a mark)

  when InBigBlind and BigBlindSize <= 40 and StackSize >= 60 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 50 and StackSize >= 50 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 60 and StackSize >= 42 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 80 and StackSize >= 32 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 100 and StackSize >= 25 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 120 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 160 and StackSize >= 16 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 200 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 240 and StackSize >= 11 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 300 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 400 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize >= 600 and StackSize >= 5 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force

  when InSmallBlind and BigBlindSize <= 40 and StackSize >= 60 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 50 and StackSize >= 50 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 60 and StackSize >= 42 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 80 and StackSize >= 32 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 100 and StackSize >= 25 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 120 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 160 and StackSize >= 16 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 200 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 240 and StackSize >= 11 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 300 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 400 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize >= 600 and StackSize >= 5 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force

  when BigBlindSize <= 40 and StackSize >= 60 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 50 and StackSize >= 50 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 60 and StackSize >= 42 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 80 and StackSize >= 32 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 100 and StackSize >= 25 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 120 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 160 and StackSize >= 16 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 200 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 240 and StackSize >= 11 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 300 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 400 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 600 and StackSize >= 5 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force

when OpponentsAtTable = 5
// Average Player Stack On table is 2250 (Using 3500 as a mark)

  when InBigBlind and BigBlindSize <= 40 and StackSize >= 87 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 50 and StackSize >= 70 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 60 and StackSize >= 58 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 80 and StackSize >= 44 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 100 and StackSize >= 35 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 120 and StackSize >= 29 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 160 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 200 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 240 and StackSize >= 15 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 300 and StackSize >= 12 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 400 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize >= 600 and StackSize >= 6and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force

  when InSmallBlind and BigBlindSize <= 40 and StackSize >= 87 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 50 and StackSize >= 70 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 60 and StackSize >= 58 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 80 and StackSize >= 44 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 100 and StackSize >= 35 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 120 and StackSize >= 29 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 160 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 200 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 240 and StackSize >= 15 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 300 and StackSize >= 12 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 400 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize >= 600 and StackSize >= 6and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force

  when BigBlindSize <= 40 and StackSize >= 87 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 50 and StackSize >= 70 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 60 and StackSize >= 58 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 80 and StackSize >= 44 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 100 and StackSize >= 35 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 120 and StackSize >= 29 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 160 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 200 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 240 and StackSize >= 15 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 300 and StackSize >= 12 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 400 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize >= 600 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force

when OpponentsAtTable = 4
// Average Player Stack On table is 2700 (Using 3900 as a mark)

  when InBigBlind and BigBlindSize <= 40 and StackSize >= 97 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 50 and StackSize >= 78 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 60 and StackSize >= 68 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 80 and StackSize >= 48 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 100 and StackSize >= 39 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 120 and StackSize >= 33 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 160 and StackSize >= 24 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 200 and StackSize >= 19 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 240 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 300 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 400 and StackSize >= 10 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize = 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize >= 600 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force

  when InSmallBlind and BigBlindSize <= 40 and StackSize >= 97 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 50 and StackSize >= 78 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 60 and StackSize >= 68 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 80 and StackSize >= 48 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 100 and StackSize >= 39 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 120 and StackSize >= 33 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 160 and StackSize >= 24 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 200 and StackSize >= 19 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 240 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 300 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 400 and StackSize >= 10 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize = 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize >= 600 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force

  when BigBlindSize <= 40 and StackSize >= 97 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 50 and StackSize >= 78 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 60 and StackSize >= 68 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 80 and StackSize >= 48 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 100 and StackSize >= 39 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 120 and StackSize >= 33 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 160 and StackSize >= 24 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 200 and StackSize >= 19 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 240 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 300 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 400 and StackSize >= 10 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize = 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize >= 600 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force





// short stack //

when BigBlindSize <= 40 and StackSize <= 22 and OpponentsAtTable > 3
  when (StillToAct = 8 or StillToAct = 7) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaiseMax Force
  when (StillToAct = 6 or StillToAct = 5) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited or Hand = 99 or Hand = AJ suited) RaiseMax Force
  when (StillToAct = 4 or StillToAct = 3) and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99) RaiseMax Force
  when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AT suited or Hand = AT or Hand = KQ suited or Hand = KJ suited) RaiseMax Force
  when InSmallBlind and Calls = 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls = 1 and Raises = 0 and Bets = 0 and PairInHand RaiseMax Force

when BigBlindSize <= 60 and StackSize <= 21 and OpponentsAtTable > 3
  when (StillToAct = 8 or StillToAct = 7) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaiseMax Force
  when (StillToAct = 6 or StillToAct = 5) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited or Hand = 99 or Hand = AJ suited) RaiseMax Force
  when (StillToAct = 4 or StillToAct = 3) and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99) RaiseMax Force
  when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AT suited or Hand = AT or Hand = KQ suited or Hand = KJ suited) RaiseMax Force
  when InSmallBlind and Calls = 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls = 1 and Raises = 0 and Bets = 0 and PairInHand RaiseMax Force

when BigBlindSize <= 80 and StackSize <= 20 and OpponentsAtTable > 3
  when (StillToAct = 8 or StillToAct = 7) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaiseMax Force
  when (StillToAct = 6 or StillToAct = 5) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited or Hand = 99 or Hand = AJ suited) RaiseMax Force
  when (StillToAct = 4 or StillToAct = 3) and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99) RaiseMax Force
  when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AT suited or Hand = AT or Hand = KQ suited or Hand = KJ suited) RaiseMax Force
  when InSmallBlind and Calls = 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls = 1 and Raises = 0 and Bets = 0 and PairInHand RaiseMax Force

when BigBlindSize <= 100 and StackSize <= 19 and OpponentsAtTable > 3
  when (StillToAct = 8 or StillToAct = 7) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaiseMax Force
  when (StillToAct = 6 or StillToAct = 5) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited or Hand = 99 or Hand = AJ suited) RaiseMax Force
  when (StillToAct = 4 or StillToAct = 3) and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99) RaiseMax Force
  when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AT suited or Hand = AT or Hand = KQ suited or Hand = KJ suited) RaiseMax Force
  when InSmallBlind and Calls = 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls = 1 and Raises = 0 and Bets = 0 and PairInHand RaiseMax Force

when BigBlindSize <= 120 and StackSize <= 18 and OpponentsAtTable > 3
  when (StillToAct = 8 or StillToAct = 7) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaiseMax Force
  when (StillToAct = 6 or StillToAct = 5) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited or Hand = 99 or Hand = AJ suited) RaiseMax Force
  when (StillToAct = 4 or StillToAct = 3) and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99) RaiseMax Force
  when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AT suited or Hand = AT or Hand = KQ suited or Hand = KJ suited) RaiseMax Force
  when InSmallBlind and Calls = 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls = 1 and Raises = 0 and Bets = 0 and PairInHand RaiseMax Force

when BigBlindSize <= 160 and StackSize <= 17 and OpponentsAtTable > 3
  when (StillToAct = 8 or StillToAct = 7) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaiseMax Force
  when (StillToAct = 6 or StillToAct = 5) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited or Hand = 99 or Hand = AJ suited) RaiseMax Force
  when (StillToAct = 4 or StillToAct = 3) and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99) RaiseMax Force
  when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AT suited or Hand = AT or Hand = KQ suited or Hand = KJ suited) RaiseMax Force
  when InSmallBlind and Calls = 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls = 1 and Raises = 0 and Bets = 0 and PairInHand RaiseMax Force

when BigBlindSize <= 200 and StackSize <= 15 and OpponentsAtTable > 3
  when (StillToAct = 8 or StillToAct = 7) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaiseMax Force
  when (StillToAct = 6 or StillToAct = 5) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited or Hand = 99 or Hand = AJ suited) RaiseMax Force
  when (StillToAct = 4 or StillToAct = 3) and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99) RaiseMax Force
  when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AT suited or Hand = AT or Hand = KQ suited or Hand = KJ suited) RaiseMax Force
  when InSmallBlind and Calls = 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls = 1 and Raises = 0 and Bets = 0 and PairInHand RaiseMax Force

when BigBlindSize <= 300 and StackSize <= 12 and OpponentsAtTable > 3
  when (StillToAct = 8 or StillToAct = 7) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaiseMax Force
  when (StillToAct = 6 or StillToAct = 5) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited or Hand = 99 or Hand = AJ suited) RaiseMax Force
  when (StillToAct = 4 or StillToAct = 3) and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99) RaiseMax Force
  when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AT suited or Hand = AT or Hand = KQ suited or Hand = KJ suited) RaiseMax Force
  when InSmallBlind and Calls = 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls = 1 and Raises = 0 and Bets = 0 and PairInHand RaiseMax Force

when BigBlindSize <= 400 and StackSize <= 8 and OpponentsAtTable > 3
  when (StillToAct = 8 or StillToAct = 7) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaiseMax Force
  when (StillToAct = 6 or StillToAct = 5) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited or Hand = 99 or Hand = AJ suited) RaiseMax Force
  when (StillToAct = 4 or StillToAct = 3) and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99) RaiseMax Force
  when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AT suited or Hand = AT or Hand = KQ suited or Hand = KJ suited) RaiseMax Force
  when InSmallBlind and Calls = 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0 and (Hand = JJ or Hand = TT or Hand = AK or Hand = AQ or Hand = AJ or Hand = 99 or Hand = 88 or Hand = AT suited) RaiseMax Force
  when InBigBlind and Calls = 1 and Raises = 0 and Bets = 0 and PairInHand RaiseMax Force

when StackSize <= 7 and (not OpponentsAtTable = 3)
  when (Hand = AA or Hand = KK orHand = QQ or Hand = JJ) RaiseMax Force
  when (Hand = TT or Hand = 99) RaiseMax Force
  when (Hand = AK or Hand = AQ or Hand = AJ or Hand = AT or Hand = A9 suited) RaiseMax Force

when StackSize <= 7 and (not OpponentsAtTable = 3) and OpponentsLeft < 6 and Raises = 0
  when (Hand = KQ or Hand = KJ or Hand = QJ or Hand = 88) RaiseMax Force
  when (Hand = 77 or Hand = KT suited or Hand = K9 suited or Hand = QT suited) RaiseMax Force

when ((StackSize <= 7 and BigBlindSize <= 200) or (StackSize <= 5 and BigBlindSize > 200)) and (not OpponentsAtTable = 3) and OpponentsLeft < 5 and Raises = 0
  when (Hand = KQ or Hand = KJ or Hand = QJ or Hand = 88) RaiseMax Force
  when (Hand = 66 or Hand = 55 or Hand = A7 suited or Hand = KT or Hand = QT or Hand = 77) RaisePot Force
  when (Hand = A7 or Hand = A6 or Hand = A5 or Hand = A4 or Hand = K9 or Hand = Q9 or Hand = JT or Hand = 33 or Hand = 22) RaiseMax Force

when ((StackSize <= 7 and BigBlindSize <= 200) or (StackSize <= 5 and BigBlindSize > 200)) and (not OpponentsAtTable = 3) and OpponentsLeft < 4 and Raises = 0
  when (Hand = A7 or Hand = A6 or Hand = A5 or Hand = A4) RaiseMax Force
  when (Hand = K9 or Hand = Q9 or Hand = JT or Hand = 33 or Hand = 22) RaiseMax Force

when ((StackSize <= 7 and BigBlindSize <= 200) or (StackSize <= 5 and BigBlindSize > 200)) and (not OpponentsAtTable = 3) and OpponentsLeft < 3 and Raises = 0
  when (Hand = A3 or Hand = A2 or Hand = K8 suited or Hand = Q8 suited or Hand = T9 or Hand = 89 suited) RaiseMax Force

when StackSize <= 4 and (not OpponentsAtTable = 3)
  when (Hand = QQ or Hand = AK suited) RaiseMax Force
  when (Hand = AQ or Hand = AK) RaiseMax Force
  when (Hand = AJ suited) RaiseMax Force
  when (Hand = JJ) RaiseMax Force
  when (Hand = TT) RaiseMax Force
  when (Hand = 99 or Hand = 88 or Hand = 77) RaiseMax Force
  when (Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22) RaiseMax Force
  when (Hand = AT suited) RaiseMax Force
  when (Hand = AJ) RaiseMax Force
  when (Hand = A9 suited or Hand = A8 suited or Hand = A7 suited) RaiseMax Force
  when (Hand = KQ suited) RaiseMax Force
  when (Hand = KJ suited) RaiseMax Force
  when (Hand = QJ suited) RaiseMax Force
  when (Hand = KQ) RaiseMax Force
  when (Hand = KT suited) RaiseMax Force
  when (Hand = QT suited) RaiseMax Force
  when (Hand = JT suited) RaiseMax Force
  when (Hand = J9 suited or Hand = J8 suited or Hand = J7 suited) RaiseMax Force
  when (Hand = KJ) RaiseMax Force
  when (Hand = KT or Hand = K9 or Hand = K8 suited) RaiseMax Force
  when (Hand = QT or Hand = Q9 or Hand = Q8) RaiseMax Force
  when (Hand = A suited) RaiseMax Force

when StackSize <= 3 and (not OpponentsAtTable = 3)
  when (Hand = A or Hand = K) RaiseMax Force
  when In SmallBlind and (Hand = Q suited) RaiseMax Force
  when inBigBlind and (Hand = Q or Hand = J suited or Hand = 87 suited or Hand = 76 suited or Hand = 65 suited or Hand = 54 suited or Hand = 43 suited) RaiseMax Force

when StackSize <= 2 and (not OpponentsAtTable = 3)
  when (Hand = A or Hand = K or Hand = Q or Hand = J suited or Hand = T suited or Hand = 9 suited or Hand = 8 suited
          or Hand = 76 suited or Hand = 75 suited or Hand = 65 suited or pairinhand) and not (Hand = 62 or Hand = 72 or Hand = 23 or Hand = 24 or Hand = 25) RaiseMax Force

// Call Short Stack All-In

when StillToAct = 0 and (not OpponentsAtTable = 3) and OpponentIsAllIn and Opponents = 1 and Amounttocall <= 10 and Calls = 0 and StackSize >= 15
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) RaiseMax Force
  when (Hand = 88 or Hand = AK suited or Hand = AQ suited or Hand = AJ suited) RaiseMax Force

When Others
  when BotsLastAction = Call and OpponentIsAllIn and Opponents = 1 and Amounttocall < 60% PotSize Call Force
  when BotsLastAction = Raise and OpponentIsAllIn and Opponents = 1 and Amounttocall < 60% PotSize Call Force

// Heads Up
When Others
  when OpponentsAtTable = 1 and TotalInvested >= 105% StackSize RaiseMax Force
  when OpponentsAtTable = 2 and TotalInvested >= 115% StackSize RaiseMax Force

when OpponentsAtTable = 1 and Raises = 0
//when Random > 40 and (Hand = AA or Hand = KK or Hand = QQ) Call Force
  when (Hand = AA or Hand = KK or Hand = QQ) RaisePot Force
  when (Hand = AK suited) RaisePot Force
  when (Hand = AK) RaisePot Force
//when Random > 50 and (Hand = JJ or Hand = TT) Call Force
  when (Hand = JJ or Hand = TT) RaisePot Force
  when (Hand = AQ suited) RaisePot Force
  when (Hand = AJ suited) RaisePot Force
  when (Hand = 99) RaisePot Force
  when (Hand = AQ) RaisePot Force
  when (Hand = AJ) RaisePot Force
  when (Hand = AT suited) RaiseMax Force
  when (Hand = KQ suited) RaiseMax Force
  when (Hand = KJ suited) RaiseMax Force
  when (Hand = QJ suited) RaiseMax Force
  when (Hand = 88 or Hand = 77) RaisePot Force
  when (Hand = AT) RaiseMax Force
  when (Hand = JT suited) RaisePot Force
  when (Hand = A9 suited or Hand = A8 suited) RaiseMax Force
  when (Hand = T9 suited) RaisePot Force
  when (Hand = KQ) RaisePot Force
  when (Hand = KJ) RaisePot Force
  when (Hand = KT suited) RaisePot Force
  when (Hand = QT suited) RaisePot Force
  when (Hand = KT or Hand = QT) RaisePot Force
  when (Hand = A7 suited or Hand = A6 suited or Hand = A5 suited or Hand = A4 suited or Hand = A3 suited or Hand = A2 suited) RaiseMax Force
  when (Hand = K9 suited) RaisePot Force
  when (Hand = Q9 suited) RaisePot Force
  when (Hand = Q8 suited) RaisePot Force
  when (Hand = J9 suited) RaisePot Force
  when (Hand = J8 suited or Hand = J7 suited) RaisePot Force
  when (Hand = QJ) RaiseMax Force
  when (Hand = JT) RaisePot Force
  when (Hand = 98 suited) RaisePot Force
  when (Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22) RaiseMax Force
  when (Hand = K8 suited or Hand = K7 suited or Hand = K6 suited or Hand = K5 suited or Hand = K4 suited or Hand = K3 suited or Hand = K2 suited) RaisePot Force
  when (Hand = Q9 or Hand = Q8 or Hand = Q7 or Hand = Q6 or Hand = J9 or Hand = J8 or Hand = J7 or Hand = K or Hand = A) RaisePot Force
  when (Hand = 87 suited or Hand = 76 suited or Hand = 65 suited) RaisePot Force
  when (Hand = T8 suited or Hand = T7 suited or Hand = 97 suited or Hand = 96 suited or Hand = 86 suited or Hand = 85 suited) RaisePot Force
  when (Hand = T9 or Hand = 98 or Hand = 87) RaisePot Force
  when Random > 60 RaisePot Force
  when Random < 30 Call Force
  when Others Fold Force

when OpponentsAtTable = 1 and Raises = 1 and OpponentsWithHigherStack >= 1
  when (Hand = A9 suited or Hand = A8 suited) RaiseMax Force
  when (Hand = T9 suited) Call Force
  when (Hand = KQ) RaiseMax Force
  when (Hand = KJ) RaiseMax Force
  when (Hand = KT suited) RaiseMax Force
  when (Hand = QT suited) RaiseMax Force
  when (Hand = KT or Hand = QT) RaiseMax Force
  when (Hand = K9 suited) RaiseMax Force
  when (Hand = Q9 suited) RaiseMax Force
  when (Hand = Q8 suited) RaiseMax Force
  when (Hand = QJ) RaiseMax Force
  when Hand = A RaiseMax Force
  when (Hand = K) RaiseMax Force
  when Amounttocall <= 4 and (Hand = K8 suited or Hand = K7 suited or Hand = K6 suited or Hand = K5 suited or Hand = K4 suited or Hand = K3 suited or Hand = K2 suited) RaiseMax Force
  when Amounttocall <= 3 and Random <= 45 and (Hand = Q or Hand = J) RaiseMax Force
  when Amounttocall <= 2 Call Force

when OpponentsAtTable = 1 and Raises = 1
  when (Hand = AA or Hand = KK or Hand = QQ) RaisePot Force
  when (Hand = AK suited) RaiseMax Force
  when (Hand = AK) RaiseMax Force
  when (Hand = JJ or Hand = TT) RaisePot Force
  when (Hand = AQ suited) RaiseMax Force
  when (Hand = AJ suited) RaiseMax Force
  when (Hand = 99) RaiseMax Force
  when (Hand = AQ) RaiseMax Force
  when (Hand = AJ) RaiseMax Force
  when (Hand = AT suited) RaiseMax Force
  when (Hand = KQ suited) RaiseMax Force
  when (Hand = KJ suited) RaiseMax Force
  when (Hand = QJ suited) RaiseMax Force
  when (Hand = 88 or Hand = 77) RaiseMax Force
  when (Hand = AT) RaiseMax Force
  when Random < 30 and (Hand = KT or Hand = A9 or Hand = A8 or Hand = KQ or Hand = JT suited or Hand = T9 suited) RaiseMax Force
  when (Hand = JT suited) Call Force
  when (Hand = A9 suited or Hand = A8 suited) Call Force
  when (Hand = T9 suited) Call Force
  when (Hand = KQ) RaiseMax Force
  when (Hand = KJ) RaiseMax Force
  when (Hand = KT suited) Call Force
  when (Hand = QT suited) Call Force
  when (Hand = KT or Hand = QT) Call Force
  when (Hand = K9 suited) Call Force
  when (Hand = Q9 suited) Call Force
  when (Hand = Q8 suited) Call Force
  when (Hand = J9 suited) Call Force
  when (Hand = J8 suited or Hand = J7 suited) Call Force
  when (Hand = QJ) Call Force
  when (Hand = JT) Call Force
  when (Hand = 98 suited) Call Force
  when (Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22) RaiseMax Force
  when Random > 70 and Hand = A RaiseMax Force
  when (Hand = K or Hand = A) Call Force
  when Amounttocall <= 2 and (Hand = K8 suited or Hand = K7 suited or Hand = K6 suited or Hand = K5 suited or Hand = K4 suited or Hand = K3 suited or Hand = K2 suited) Call Force
  when Amounttocall <= 2 and (Hand = Q8 or Hand = Q7 or Hand = Q6 or Hand = J9) Call Force
  when Amounttocall <= 4 and (Hand = 87 suited or Hand = 76 suited or Hand = 65 suited) Call Force
  when Amounttocall <= 2 and Random <= 45 and (Hand = Q or Hand = J) Call Force

when OpponentsAtTable = 1 and Raises > 1
  when (Hand = AA or Hand = KK or Hand = QQ) RaisePot Force
  when (Hand = AK suited) RaisePot Force
  when (Hand = AK) RaisePot Force
  when (Hand = JJ or Hand = TT) RaisePot Force
  when (Hand = AQ suited) RaisePot Force
  when (Hand = AJ suited) RaisePot Force
  when (Hand = 99) RaiseMax Force
  when (Hand = AQ) RaiseMax Force
  when (Hand = AJ) RaiseMax Force
  when (Hand = AT suited) RaiseMax Force
  when (Hand = KQ suited) RaiseMax Force
  when (Hand = KJ suited) RaiseMax Force
  when (Hand = QJ suited) RaiseMax Force
  when (Hand = 88 or Hand = 77) RaiseMax Force
  when (Hand = AT) Call Force
  when (Hand = A9 suited or Hand = A8 suited) Call Force
  when (Hand = KQ) RaiseMax Force
  when (Hand = KJ) RaiseMax Force
  when (Hand = KT suited) Call Force
  when (Hand = QT suited) Call Force
  when (Hand = KT or Hand = QT or Hand = QJ) Call Force
  when (Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22) RaiseMax Force
  when (Hand = A or Hand = K9) Call Force

// Large Chip Lead H // U

when OpponentsAtTable = 1 and ((BigBlindSize = 80 and StackSize >= 112) or
          (BigBlindSize = 100 and StackSize >= 90) or
          (BigBlindSize = 120 and StackSize >= 75) or
          (BigBlindSize = 160 and StackSize >= 56) or
          (BigBlindSize = 200 and StackSize >= 45) or
          (BigBlindSize = 240 and StackSize >= 37) or
          (BigBlindSize = 300 and StackSize >= 30) or
          (BigBlindSize = 400 and StackSize >= 22) or
          (BigBlindSize = 500 and StackSize >= 18) or
          (BigBlindSize = 600 and StackSize >= 15) or
          (BigBlindSize = 800 and StackSize >= 11))

  when InBigBlind Call Force
  when InSmallBlind and Raises >= 1 and BotsLastAction = Raise Call Force

// In Money

when OpponentsAtTable = 2 and (Raises = 1)
  when OpponentsWithLowerStack >= 1 and OpponentIsAllIn and AmountToCall >= 100% StackSize and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = AK suited or Hand = TT) Fold Force
  when (Hand = AA or Hand = KK) Raise 65% Force
  when (Hand = QQ or Hand = JJ or Hand = TT) RaisePot Force
  when (Hand = 99 or Hand = 88 or Hand = AK or Hand = AQ suited or Hand = AJ suited) RaiseMax Force
  when inBigBlind and (Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ or Hand = QJ suited or Hand = KJ suited) Call Force
  when inBigBlind and Amounttocall <= 4 and (Hand = JT suited or Hand = A9 suited or Hand = 77 or Hand = 66) Call Force
  when inBigBlind and Amounttocall <= 4 and PairInHand Call Force
  when inSmallBlind and Amounttocall <= 5 and (Hand = AT suited or Hand = KQ or Hand = QJ suited or Hand = KJ suited) Call Force
  when inSmallBlind and Amounttocall <= 3 and (Hand = JT suited or Hand = A9 suited or Hand = 77 or Hand = 66) Call Force
  when inSmallBlind and Amounttocall <= 2 and PairInHand Call Force
  when Others Fold Force

when OpponentsAtTable = 2 and (Raises >= 1)
  when OpponentsWithLowerStack >= 1 and OpponentIsAllIn and AmountToCall >= 100% StackSize and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = AK suited or Hand = TT) Fold Force
  when (Hand = AA or Hand = KK) and Random < 50 Raise 150% Force
  when (Hand = AA or Hand = KK) RaiseMax Force
  when (Hand = QQ) Call Force
  when (Hand = AK or Hand = JJ or Hand = TT) and Amounttocall < 11 Call Force
  when (Hand = AK or Hand = JJ or Hand = TT) and TotalInvested >= 100% StackSize Call Force
  when (Hand = AQ or Hand = AJ suited or Hand = 99) and TotalInvested >= 110% StackSize Call Force
  when Opponents = 1 and (Hand = AJ or Hand = AT suited or Hand = 88 or Hand = KQ suited) and TotalInvested >= 120% StackSize Call Force
  when BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 20% StackSize Call Force
  when Others Fold Force

when OpponentsAtTable = 2 and InBigBlind and Opponents = 1 and (Raises = 1) and Amounttocall < 9 and LastRaiserPosition = 1
  when OpponentsWithLowerStack >= 1 and OpponentIsAllIn and AmountToCall >= 100% StackSize and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = AK suited or Hand = TT) Fold Force
  when (Hand = KK or Hand = AA or Hand = TT or Hand = 99 or Hand = 88 or Hand = AK suited or Hand = AQ suited or Hand = AJ suited) RaiseMax Force
  when (Hand = 77 or Hand = AK or Hand = AQ or Hand = AJ or Hand = KQ suited) RaiseMax Force
  when (Hand = 6s 6 or Hand = 5h 5 or Hand = 4c 4 or Hand = 3d 3 or Hand = 22) Raise Force
  when (Hand = 6d 6 or Hand = 5c 5 or Hand = 4h 4 or Hand = 3s 3) RaiseMax Force
  when (Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33) Call Force
  when (Hand = JT suited or Hand = J9 suited or Hand = J8 suited or Hand = Jd 7 suited or Hand = Ts 9 or Hand = Ac 9 or Hand = Ah 8 or Hand = Ad 7) Call Force
  when (Hand = Js T or Hand = Jd 9 or Hand = Jh 8 or Hand = Jc 7 or Hand = T9s or Hand = A9h or Hand = A8c or Hand = A7d) Call Force
  when (Hand = JT or Hand = J9 or Hand = J8 suited or Hand = J7 or Hand = T9 or Hand = A9 or Hand = A8 or Hand = A7) Call Force
  when (Hand = AT or Hand = A9 suited or Hand = KJ or Hand = KT or Hand = K9 or Hand = QJ or Hand = QT) Call Force
  when (Hand = A8 suited or Hand = A7 suited or Hand = A6 suited or Hand = A5 suited or Hand = A9) Call Force
  when (InBigBlind or InSmallBlind) and (Hand = A) Call Force
  when Amounttocall < 5 and InBigBlind and (Hand = K suited or Hand = Q9 suited) Call Force
  when Amounttocall < 3 and InSmallBlind and (Hand = K suited or Hand = Q9 suited) Call Force
  when Others Fold Force

when OpponentsAtTable = 2 and Bets = 0 and Raises = 0 and OpponentsWithLowerStack >= 1
  when (Hand = As A or Hand = Kc K) RaisePot Force
  when (Hand = Qd Q or Hand = Jh J) RaisePot Force
  when (Hand = Ah A or Hand = Kd K) Raise Force
  when (Hand = Qc Q or Hand = Jd J) Raise Force
  when (Hand = Ad A or Hand = Kh K) Call Force
  when (Hand = Qs Q or Hand = Jc J) Raise 3 Force
  when (Hand = Ac A or Hand = Ks K) RaiseMin Force
  when (Hand = Qh Q or Hand = Js J) RaiseMin Force
  when (Hand = Ts T or Hand = 9c 9 or Hand = 8h 8 or Hand = Ad K suited or Hand = Ac Q suited or Hand = AJd suited) Raise Force
  when (Hand = 7d 7 or Hand = Ac K or Hand = Ah Q or Hand = As J or Hand = KQs suited) Raise Force
  when (Hand = TTc or Hand = 99s or Hand = 88d or Hand = AKh suited or Hand = AQd suited or Hand = AJc suited) RaisePot Force
  when (Hand = 7s 7 or Hand = Ah K or Hand = Ad Q or Hand = Ac J or Hand = Kh Q suited) RaisePot Force
  when (Hand = TT or Hand = 99 or Hand = 88 or Hand = AK suited or Hand = AQ suited or Hand = AJ suited) RaiseMax Force
  when (Hand = 77 or Hand = AK or Hand = AQ or Hand = AJ or Hand = KQ suited) RaiseMax Force
  when (Hand = 6s 6 or Hand = 5h 5 or Hand = 4c 4 or Hand = 3d 3) RaiseMax Force
  when (Hand = 6d 6 or Hand = 5c 5 or Hand = 4h 4 or Hand = 3s 3) RaiseMax Force
  when (Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22 or Hand = QJ suited) Raise Force
  when (Hand = JT suited or Hand = J9 suited or Hand = J8 suited or Hand = Jd 7 suited or Hand = Ts 9 or Hand = Ac 9 or Hand = Ah 8 or Hand = Ad 7) Raise Force
  when (Hand = Js T or Hand = Jd 9 or Hand = Jh 8 or Hand = Jc 7 or Hand = T9s or Hand = A9h or Hand = A8c or Hand = A7d) RaisePot Force
  when (Hand = JT or Hand = J9 or Hand = J8 or Hand = J7 or Hand = T9 or Hand = A9 or Hand = A8 or Hand = A7) Raise Force
  when (Hand = AT or Hand = A9 suited or Hand = KQ or Hand = KJ or Hand = KT or Hand = K9 or Hand = QJ or Hand = QT) Raise Force
  when (Hand = A8 suited or Hand = A7 suited or Hand = A6 suited or Hand = A5 suited or Hand = A9) Call Force
  when In SmallBlind and Calls = 0 and (Hand = A or Hand = K suited or Hand = T8 suited or Hand = T7 suited or Hand = 98 suited or Hand = 97 suited or Hand = 87 suited or Hand = 86 suited or Hand = 76 suited or Hand = 65 suited) Raise Force
  when In BigBlind and Calls = 1 and (Hand = QJ or Hand = KQ or Hand = KJ) Raise Force
  when Others Fold Force

when OpponentsAtTable = 2 and Bets = 0 and Raises = 0 and OpponentsWithLowerStack = 0
  when (Hand = As A or Hand = Kc K) RaisePot Force
  when (Hand = Qd Q or Hand = Jh J) RaisePot Force
  when (Hand = Ah A or Hand = Kd K) Raise Force
  when (Hand = Qc Q or Hand = Jd J) Raise Force
  when (Hand = Ad A or Hand = Kh K) Call Force
  when (Hand = Qs Q or Hand = Jc J) Raise 3 Force
  when (Hand = Ac A or Hand = Ks K) RaiseMin Force
  when (Hand = Qh Q or Hand = Js J) RaiseMin Force
  when (Hand = Ts T or Hand = 9c 9 or Hand = 8h 8 or Hand = Ad K suited or Hand = Ac Q suited or Hand = AJd suited) Raise Force
  when (Hand = 7d 7 or Hand = Ac K or Hand = Ah Q or Hand = As J or Hand = KQs suited) Raise Force
  when (Hand = TTc or Hand = 99s or Hand = 88d or Hand = AKh suited or Hand = AQd suited or Hand = AJc suited) RaisePot Force
  when (Hand = 7s 7 or Hand = Ah K or Hand = Ad Q or Hand = Ac J or Hand = Kh Q suited) RaisePot Force
  when (Hand = TT or Hand = 99 or Hand = 88 or Hand = AK suited or Hand = AQ suited or Hand = AJ suited) RaiseMax Force
  when (Hand = 77 or Hand = AK or Hand = AQ or Hand = AJ or Hand = KQ suited) RaiseMax Force
  when (Hand = 6s 6 or Hand = 5h 5 or Hand = 4c 4 or Hand = 3d 3) RaiseMax Force
  when (Hand = 6d 6 or Hand = 5c 5 or Hand = 4h 4 or Hand = 3s 3) RaiseMax Force
  when (Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22 or Hand = QJ suited) RaiseMax Force
  when (Hand = JT or Hand = A9 or Hand = A8 or Hand = A7) Call Force
  when (Hand = AT or Hand = A9 suited or Hand = KJ or Hand = KT or Hand = K9 or Hand = QJ or Hand = QT) RaiseMax Force
  when (Hand = A8 suited or Hand = A7 suited or Hand = A6 suited or Hand = A5 suited or Hand = A9) Call Force
  when In SmallBlind and Calls = 0 and (Hand = A or Hand = K suited or Hand = T8 suited or Hand = T7 suited or Hand = 98 suited) Call Force
  when In BigBlind and Calls = 1 and (PairInHand or Hand = QJ or Hand = KQ or Hand = KJ) RaiseMax Force
  when Others Fold Force

// ENDGAME STRATEGY for Aces and Kings and Queens
when OpponentsAtTable = 1 or OpponentsAtTable = 2
  when Hand = AA or Hand = KK or Hand = QQ RaisePot Force
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK) and BotsLastAction = Raise RaisePot Force

// Bubble Code //

// 4 handed super stack

when OpponentsAtTable = 3 and (StackSize >= 25 or (OpponentsWithHigherStack = 0 and (not OpponentsWithLowerStack = 0))) and StillToAct >= 3
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and (StackSize >= 25 or (OpponentsWithHigherStack = 0 and (not OpponentsWithLowerStack = 0))) and In Button
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and (StackSize >= 25 or (OpponentsWithHigherStack = 0 and (not OpponentsWithLowerStack = 0))) and In SmallBlind
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) RaiseMax Force
  when BotsLastAction = Call and Opponents = 1 Call Force
  when Bets = 0 and Raises = 0 and (PairInHand or Hand = A or Hand = KQ or Hand = QJ suited or Hand = KJ or Hand = KT) Call Force
  when Others Fold Force

when OpponentsAtTable = 3 and (StackSize >= 25 or (OpponentsWithHigherStack = 0 and (not OpponentsWithLowerStack = 0))) and In BigBlind
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) RaiseMax Force
  when Raises = 1 and Opponents = 1 and amounttocall <= 3 and (PairInHand or Hand = AT or Hand = KQ or Hand = KJ or Hand = A9 or Hand = A8 suited or Hand = A7 suited) Call Force
  when Raises = 1 and Opponents = 1 and amounttocall <= 1 Call Force
  when Opponents = 1 and AmountToCall <= 5% StackSize Call Force
  when OpponentIsAllIn and Opponents = 1 and AmountToCall <= 20% StackSize and (PairInHand or Hand = AT suited or Hand = KQ suited) Call Force
  when OpponentIsAllIn and Opponents = 1 and AmountToCall <= 15% StackSize and (Hand = KJ suited or Hand = A9 suited or Hand = A8 suited or Hand = A7 suited) Call Force
  when OpponentIsAllIn and Opponents = 1 and AmountToCall <= 7% StackSize and (Hand = KT suited or Hand = K9 suited or Hand = QJ or Hand = JT suited or Hand = QT suited) Call Force
  when Others Fold Force

// 4 handed big stack

when OpponentsAtTable = 3 and (StackSize >= 15 or (OpponentsWithHigherStack = 1 and OpponentsWithLowerStack >= 1)) and StillToAct = 3
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and (StackSize >= 15 or (OpponentsWithHigherStack = 1 and OpponentsWithLowerStack >= 1)) and In Button
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and (StackSize >= 15 or (OpponentsWithHigherStack = 1 and OpponentsWithLowerStack >= 1)) and In SmallBlind
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) RaiseMax Force
  when BotsLastAction = Call and Opponents = 1 Call Force
  when Bets = 0 and Raises = 0 and (PairInHand or Hand = A or Hand = KQ or Hand = QJ suited or Hand = KJ or Hand = KT) Call Force
  when Others Fold Force

when OpponentsAtTable = 3 and (StackSize >= 15 or (OpponentsWithHigherStack = 1 and OpponentsWithLowerStack >= 1)) and In BigBlind
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) RaiseMax Force
  when Raises = 1 and Opponents = 1 and amounttocall <= 3 and (PairInHand or Hand = AT or Hand = KQ or Hand = KJ or Hand = A9 or Hand = A8 suited or Hand = A7 suited) Call Force
  when Raises = 1 and Opponents = 1 and amounttocall <= 1 Call Force
  when Opponents = 1 and AmountToCall <= 5% StackSize Call Force
  when OpponentIsAllIn and Opponents = 1 and AmountToCall <= 20% StackSize and (PairInHand or Hand = AT suited or Hand = KQ suited) Call Force
  when OpponentIsAllIn and Opponents = 1 and AmountToCall <= 15% StackSize and (Hand = KJ suited or Hand = A9 suited or Hand = A8 suited or Hand = A7 suited) Call Force
  when OpponentIsAllIn and Opponents = 1 and AmountToCall <= 7% StackSize and (Hand = KT suited or Hand = K9 suited or Hand = QJ or Hand = JT suited or Hand = QT suited) Call Force
  when Others Fold Force

// 4 handed mid stack

when OpponentsAtTable = 3 and StackSize >= 10 and StackSize <= 14 and StillToAct = 3
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and StackSize >= 10 and StackSize <= 14 and In Button
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ or hand = AJ suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and StackSize >= 10 and StackSize <= 14 and In SmallBlind
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) RaiseMax Force
  when BotsLastAction = Call and Opponents = 1 Call Force
  when Bets = 0 and Raises = 0 and (PairInHand or Hand = A or Hand = KQ or Hand = QJ suited or Hand = KJ or Hand = KT) Call Force
  when Others Fold Force

when OpponentsAtTable = 3 and StackSize >= 10 and StackSize <= 14 and In BigBlind
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited) RaiseMax Force
  when Raises = 1 and Opponents = 1 and amounttocall <= 3 and (PairInHand or Hand = AT or Hand = KQ or Hand = KJ or Hand = A9 or Hand = A8 suited or Hand = A7 suited) Call Force
  when Raises = 1 and Opponents = 1 and amounttocall <= 1 Call Force
  when Opponents = 1 and AmountToCall <= 5% StackSize Call Force
  when OpponentIsAllIn and Opponents = 1 and AmountToCall <= 20% StackSize and (PairInHand or Hand = AT suited or Hand = KQ suited) Call Force
  when OpponentIsAllIn and Opponents = 1 and AmountToCall <= 15% StackSize and (Hand = KJ suited or Hand = A9 suited or Hand = A8 suited or Hand = A7 suited) Call Force
  when OpponentIsAllIn and Opponents = 1 and AmountToCall <= 7% StackSize and (Hand = KT suited or Hand = K9 suited or Hand = QJ or Hand = JT suited or Hand = QT suited) Call Force
  when Others Fold Force

// 4 handed low stack

when OpponentsAtTable = 3 and StackSize >= 5 and StackSize <= 9 and StillToAct = 3
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ or hand = AJ Suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and StackSize >= 5 and StackSize <= 9 and In Button
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ or Hand = KQ suited or hand = AJ suited or hand = AT suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and StackSize >= 5 and StackSize <= 9 and In SmallBlind
  when OpponentsWithLowerStack = 1 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = AK or Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) Fold Force
  when BotsLastAction = Call call Force
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK) RaiseMax Force
  when (Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) RaiseMax Force
  when Bets = 0 and Raises = 0 and (PairInHand or Hand = AT or Hand = KQ or Hand = KJ or Hand = A9 or Hand = A8 suited or Hand = A7 suited) RaiseMax Force
  when Bets = 0 and Calls = 0 and Raises = 0 and (Hand = KT or Hand = K9 or Hand = QJ or Hand = JT or Hand = QT) Call Force
  when Bets = 0 and Calls = 0 and Raises = 0 and (Hand = A or Hand = K suited) Call Force
  when Bets = 0 and Calls = 0 and Raises = 0 and (Hand = J9 suited or Hand = T9 suited or Hand = T8 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited or Hand = 65 suited or Hand = 54 suited or Hand = 43 suited) Call Force
  when Raises >= 1 and PairInHand and not (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Call Force
  when Others Fold Force

when OpponentsAtTable = 3 and StackSize >= 5 and StackSize <= 9 and In BigBlind
  when OpponentsWithLowerStack = 1 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = AK or Hand = JJ or Hand = AK or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited or PairInHand or Hand = AT or Hand = KQ or Hand = KJ or Hand = A9 or Hand = A8 suited or Hand = A7 suited) Fold Force
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK) RaiseMax Force
  when (Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) RaiseMax Force
  when (Bets = 0 and Raises = 0) and LastCallerPosition = 1 and (PairInHand or Hand = AT or Hand = KQ or Hand = KJ or Hand = A9 or Hand = A8 suited or Hand = A7 suited) RaiseMax Force
  when (Bets = 0 and Raises = 0) and LastCallerPosition = 1 and (Hand = KT or Hand = K9 suited or Hand = QJ or Hand = JT suited or Hand = QT suited) Call Force
  when (Hand = A or Hand = K suited) Call Force
  when Opponents = 1 and AmountToCall <= 10% StackSize Call Force
  when Opponents = 1 and lastraiserposition = 1 and (PairInHand or Hand = AT suited or Hand = KQ suited or Hand = A or Hand = KQ or Hand = KJ suited or Hand = KT suited) and not (Hand = 2 or Hand = 3 or Hand = 4 or Hand = A5 or Hand = A6) RaiseMax Force
  when Opponents = 1 and lastraiserposition = 1 and (Hand = A or Hand = KJ or Hand = KT or Hand = K9 or Hand = QJ or Hand = JT suited or Hand = QT suited) Call Force
  when Raises >= 1 and PairInHand and not (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Call Force
  when Others Fold Force

// 4 handed short stack

when OpponentsAtTable = 3 and StackSize < 5 and StillToAct = 3
  when OpponentsWithLowerStack = 1 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = AK or Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) Fold Force
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK) RaiseMax Force
  when (Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and StackSize < 5 and In Button
  when OpponentsWithLowerStack = 1 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = AK or Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) Fold Force
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK) RaiseMax Force
  when (Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) RaiseMax Force
  when Others Fold Force

when OpponentsAtTable = 3 and StackSize < 5 and In SmallBlind
  when OpponentsWithLowerStack = 1 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = AK or Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = 55 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) Fold Force
  when BotsLastAction = Call call Force
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK) RaiseMax Force
  when (Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) RaiseMax Force
  when Bets = 0 and Raises = 0 and (PairInHand or Hand = AT or Hand = KQ or Hand = KJ or Hand = A9 or Hand = A8 suited or Hand = A7 suited) RaiseMax Force
  when Bets = 0 and Calls = 0 and Raises = 0 and (Hand = KT or Hand = K9 or Hand = QJ or Hand = JT or Hand = QT) RaiseMax Force
  when Bets = 0 and Calls = 0 and Raises = 0 and (Hand = A or Hand = K suited) RaiseMax Force
  when Bets = 0 and Calls = 0 and Raises = 0 and (Hand = J9 suited or Hand = T9 suited or Hand = T8 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited or Hand = 65 suited or Hand = 54 suited or Hand = 43 suited) Call Force
  when Raises >= 1 and (PairInHand or Hand = AT or Hand = KQ) Call Force
  when Others Fold Force

when OpponentsAtTable = 3 and StackSize < 5 and In BigBlind
  when OpponentsWithLowerStack = 1 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = AK or Hand = JJ or Hand = AK or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited or PairInHand or Hand = AT or Hand = KQ or Hand = KJ or Hand = A9 or Hand = A8 suited or Hand = A7 suited) Fold Force
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK) RaiseMax Force
  when (Hand = JJ or Hand = AK or Hand = TT or Hand = 99 or Hand = 88 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited) RaiseMax Force
  when (PairInHand or Hand = AT or Hand = KQ or Hand = KJ or Hand = A9 or Hand = A8 suited or Hand = A7 suited) RaiseMax Force
  when (Hand = KT or Hand = K9 or Hand = QJ or Hand = JT or Hand = QT) RaiseMax Force
  when (Hand = A) RaiseMax Force
  when (Hand = K or Hand = Q suited) Call Force
  when Opponents = 1 and AmountToCall <= 40% StackSize and (Hand = J9 suited or Hand = T9 suited or Hand = T8 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited or Hand = 65 suited or Hand = 54 suited or Hand = 43 suited) Call Force

// Tourney Profile

// UTG, UTG+1

when BotsLastAction = None and (StillToAct = 8 or StillToAct = 7) and Calls = 0 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) Raise 2 Force
  when (Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66) Raise 2 Force
  when (Hand = AQ or Hand = AJ) Raise 2 Force
  when PairInHand and not (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Raise 2 Force
  when (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Call Force
  when Others Fold Force

when BotsLastAction = None and (StillToAct = 8 or StillToAct = 7) and Calls >= 1 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = AK or Hand = AQ suited) RaisePot Force
  when (Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66) Raise 2 Force
  when (Hand = AQ or Hand = AJ) Raise 1 Force
  when PairInHand Call Force
  when Others Fold Force

// Mid

when (StillToAct = 6 or StillToAct = 5) and Calls = 0 and Raises = 0 and Bets = 0
  when OpponentsAtTable <= 5 and (PairInHand or Hand = AJ or Hand = AT suited or Hand = KQ suited) Raise 2 Force
  when (Hand = AA or Hand = KK or PairInHand or Hand = AK or Hand = AQ or Hand = AJ suited) and not (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Raise 2 Force
  when (Hand = AJ or Hand = AT suited) Raise 1 Force
  when (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Call Force
  when Others Fold Force

when (StillToAct = 6 or StillToAct = 5) and Calls >= 1 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = AK) RaisePot Force
  when (Hand = AJ or Hand = AQ or Hand = AT suited or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66) Raise 2 Force
  when PairInHand Call Force
  when Others Fold Force

// Late

when (StillToAct = 4 or StillToAct = 3) and Calls = 0 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or PairInHand or Hand = AK or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = A9 suited or Hand = KQ suited or Hand = KJ suited) and not (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Raise 3 Force
  when OpponentsAtTable <= 5 and BigBlindSize >= 80 and (Hand = KQ or Hand = KJ or Hand = KT suited or Hand = QJ suited or Hand = A9 suited or Hand = JT suited or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited or Hand = 65 suited or Hand = 54 suited) Raise 2 Force
  when BigBlindSize >= 80 and (Hand = A9 suited or Hand = JT suited or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited or Hand = 65 suited or Hand = 54 suited or Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Raise 2 Force
  when (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Call Force
  when Others Fold Force

when (StillToAct = 4 or StillToAct = 3) and Calls >= 1 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = AK) RaisePot Force
  when Calls = 1 and (Hand = AJ or Hand = AQ or Hand = AT suited or Hand = KQ suited or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or PairInHand) Raise 2 Force
  when (Hand = AJ or Hand = AT suited or Hand = KQ suited or PairInHand) Call Force
  when Others Fold Force

// Button

when InButton and Calls = 0 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or PairInHand or Hand = AK or Hand = AQ or Hand = AJ or Hand = AT or Hand = KQ or Hand = KJ or Hand = KT suited or Hand = QJ suited) Raise 2 Force
  when BigBlindSize >= 80 and (Hand = A9 suited or Hand = JT suited or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited or Hand = 65 suited or Hand = 54 suited) Raise 2 Force
  when BigBlindSize >= 100 and (Hand = A suited or Hand = KT or Hand = K9 or Hand = QT or Hand = JT) Raise 2 Force
  when Others Fold Force

when InButton and Calls >= 1 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = AK) RaisePot Force
  when (Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66 or Hand = AQ or Hand = AJ or Hand = AT suited) Raise 2 Force
  when Calls = 1 and PairInHand Raise 2 Force
  when PairInHand Call Force
  when Others Fold Force

// Small Blind

when InSmallBlind and Calls = 0 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or PairInHand or Hand = AK or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ) Raise 2 Force
  when BigBlindSize >= 80 and (Hand = AT or Hand = KJ suited or Hand = A9 or Hand = A or Hand = K suited) Raise 2 Force
  when BigBlindSize >= 120 and (Hand = QJ or Hand = JT or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited) Raise 2 Force
  when (Hand = AT or Hand = KJ suited or Hand = A9 or Hand = A suited or Hand = QJ or Hand = JT or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited) Raise 2 Force
  when (Hand = Q or Hand = QT or Hand = Q9 or Hand = Q8 or Hand = J9 or Hand = J8 suited or Hand = J7 suited or Hand = T8 suited or Hand = 97 suited) Call Force
  when BigBlindSize >= 80 and Random < 40 and Hand = A Raise 2 Force
  when BigBlindSize >= 120 and Random < 25 Raise 2 Force
  when Others Fold Force

when InSmallBlind and Calls >= 2 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK or Hand = AQ) RaisePot Force
  when PairInHand Raise 3 Force
  when BigBlindSize >= 80 and Random > 60 and (Hand = AJ or Hand = AT or Hand = KQ or Hand = KJ suited or Hand = A9 suited or Hand = QJ or Hand = JT or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited) Raise 2 Force
  when (Hand = AJ or Hand = AT or Hand = KQ or Hand = KJ suited or Hand = A9 suited or Hand = QJ or Hand = JT or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited) Call Force
  when (hand = A or Hand = K or Hand = QT or Hand = Q9 or Hand = Q8 or Hand = J9 or Hand = J8 suited or Hand = J7 suited or Hand = T8 suited) Call Force
  when Others Fold Force

when InSmallBlind and Calls >= 1 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK or Hand = AQ) RaisePot Force
  when PairInHand Raise 3 Force
  when BigBlindSize >= 80 and Random > 60 and (Hand = AJ or Hand = AT or Hand = KQ or Hand = KJ suited or Hand = A9 suited or Hand = QJ or Hand = JT or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited) Raise 2 Force
  when (Hand = AJ or Hand = AT or Hand = KQ or Hand = KJ suited or Hand = A suited or Hand = QJ or Hand = JT or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited) Call Force


// Big Blind

when InBigBlind and Opponents = 1 and Raises = 0 and Calls = 1 and lastcallerposition = 1
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK suited) Raise 2 Force
  when (Hand = QQ or Hand = JJ or Hand = TT) Raise 2 Force
  when (Hand = 99 or Hand = 88 or Hand = AK) Raise 2 Force
  when (Hand = 77 or Hand = 66 or Hand = 55 or Hand = AQ or Hand = AJ or Hand = AT suited) Raise 2 Force
  when (Hand = 44 or Hand = 33 or Hand = 22 or Hand = KQ or Hand = KJ or Hand = QJ suited) Raise 2 Force
  when Others Call Force

when InBigBlind and Calls >= 1 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or Hand = QQ) RaisePot Force Force
  when (Hand = AK or Hand = JJ or Hand = TT or Hand = 99) RaiseMax Force
  when (Hand = 88 or Hand = AQ or Hand = AJ or Hand = AT suited or Hand = KQ suited or Hand = KJ suited) Raise 2 Force
  when PairInHand and Calls = 1 Raise 2 Force
  when Others Fold Force

// Case Anything is missed

when Calls = 0 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or PairInHand or Hand = AK or Hand = AQ) RaisePot Force

when Calls >= 1 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or PairInHand or Hand = AK or Hand = AQ) RaisePot Force

//

// Raises = 1 BetSize < 4

when Raises = 1 and Amounttocall <= 3

  when StackSize <= 11 and (Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66) RaiseMax Force
  when StackSize <= 11 and Opponents = 1 and (Hand = 55 or Hand = 44) RaiseMax Force
  when StackSize <= 11 and Opponents = 1 and (Hand = 33 or Hand = 22) Call Force

  when OpponentsAtTable <= 3 and In BigBlind and (Hand = KQ or Hand = KJ or Hand = QJ suited or Hand = A suited) Call Force
  when OpponentsAtTable <= 3 and In BigBlind and (Hand = 88 or Hand = 77) Call Force
  when OpponentsAtTable <= 3 and In BigBlind and (Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22) Call Force
  when OpponentsAtTable <= 3 and In BigBlind and (Hand = JT or Hand = KJ or Hand = QJ or Hand = KT or Hand = QT) Call Force

  when (BotsLastAction = Raise or BotsLastAction = Call) and StackSize <= 11 and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK suited) RaiseMax Force
  when (Hand = AA or Hand = KK) RaisePot Force
  when (Hand = QQ or Hand = AK suited) Raise Force
  when InBigBlind and Opponents = 1 and (Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) RaisePot Force
  when InBigBlind and Opponents = 1 and LastRaiserPosition <= 4 and (Hand = AK or Hand = AQ suited or Hand = AJ suited) RaisePot Force
  when InBigBlind and Opponents = 1 and (Hand = AK or Hand = AQ suited or Hand = AJ suited) Call Force
  when InBigBlind and Opponents = 1 and Raises = 1 and Calls = 0 and (lastraiserposition = 1 or lastraiserposition = 2) and (Hand = JJ or Hand = TT or Hand = 88 or Hand = AQ) RaiseMax Force
  when InBigBlind and Opponents = 1 and Raises = 1 and Calls = 0 and (lastraiserposition = 1 or lastraiserposition = 2) and (Hand = JT or Hand = KJ or Hand = QJ or Hand = KT or Hand = QT) Raise 3 Force
  when InBigBlind and (lastraiserposition = 1 or lastraiserposition = 2) and (Hand = 77 or Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22 or Hand = A9 or Hand = A8 or Hand = KQ or Hand = KJ or Hand = QJ) Raise 3 Force
  when InBigBlind and (Hand = 77 or Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22 or Hand = A9 or Hand = A8 or Hand = KQ or Hand = KJ or Hand = QJ) Call Force
  when InBigBlind and Opponents = 1 and Raises = 1 and Calls = 0 and (lastraiserposition = 1 or lastraiserposition = 2) and (Hand = JT or Hand = KJ or Hand = QJ or Hand = KT or Hand = QT) Raise 3 Force
  when InBigBlind and calls= 0 and amounttocall<= 2 and (lastraiserposition = 1) and (Hand = A or Hand = K or Hand = Q or Hand = J or Hand = T suited or Hand = 9 suited or Hand = 8 suited or Hand = 7 suited or Hand = 6 suited) Raise 3 Force
  when InSmallBlind and Opponents = 1 and (Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited) Raise Force
  when InSmallBlind and (Hand = A suited or Hand = KQ or Hand = KJ or Hand = KT or Hand = QJ or Hand = JT or Hand = A9 or Hand = A8 or PairInHand) Call Force
  when InSmallBlind and (PairInHand or Hand = A or Hand = K) and AmountToCall <= 2 Call Force
  when (Hand = JJ or Hand = TT) Raise Force
  when (Hand = AK or Hand = KQ suited) Call Force
  when (Hand = 99 or Hand = AJ suited or Hand = KJ suited or Hand = AQ suited or Hand = QJ suited) Raise Force
  when (Hand = 88 or Hand = 77 or Hand = AJ or Hand = AQ or Hand = AT or Hand = A9 suited or Hand = JT suited) Call Force

when InBigBlind and Opponents = 1 and Raises = 1 and Amounttocall <= 3 and LastRaiserPosition = 1
  when (Hand = TT or Hand = 99 or Hand = 88 or Hand = AK suited or Hand = AQ suited or Hand = AJ suited) RaisePot Force
  when (Hand = 77 or Hand = AK or Hand = AQ or Hand = AJ or Hand = KQ suited) RaisePot Force
  when (Hand = 6s 6 or Hand = 5h 5 or Hand = 4c 4 or Hand = 3d 3 or Hand = 2c 2) RaisePot Force
  when (Hand = 6d 6 or Hand = 5c 5 or Hand = 4h 4 or Hand = 3s 3) Call Force
  when (Hand = 66 or Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22) Raise Force
  when (Hand = JT suited or Hand = J9 suited or Hand = J8 suited or Hand = Jd 7 suited or Hand = Ts 9 or Hand = Ac 9 or Hand = Ah 8 or Hand = Ad 7) Call Force
  when (Hand = JT or Hand = J9 or Hand = T9 or Hand = A9 or Hand = A8 or Hand = A7) Call Force
  when (Hand = AT suited or Hand = A9 suited or Hand = KJ or Hand = KT or Hand = K9 or Hand = QJ or Hand = QT) Raise Force
  when (Hand = AT or Hand = A9 or Hand = A8 suited or Hand = A7 suited or Hand = A6 suited or Hand = A5 suited or Hand = A9) Call Force

  when PairInHand Call Force
  when InBigBlind and Amounttocall = 1 Call Force
  when (BotsLastAction = Bet or BotsLastAction = Raise) and Amounttocall <= 3 Call Force

// //

// Raises = 1 BetSize >= 4

when Raises = 1 and Amounttocall >= 3

  when StackSize <= 11 and BigBlindSize <= 160 and (Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66) RaiseMax Force
  when StackSize <= 11 and BigBlindSize <= 160 and Opponents = 1 and (Hand = 55 or Hand = 44 or Hand = 33 or Hand = 22) RaiseMax Force
  when InBigBlind and StackSize <= 5 and Opponents = 1 RaiseMax Force
  when (BotsLastAction = Raise or BotsLastAction = Call) and StackSize <= 11 and (Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK) RaiseMax Force
  when (Hand = Ad A or Hand = As A) RaisePot Force
  when (Hand = Ac A or Hand = Ad A) Raise 150% Force
  when (Hand = AA or Hand = KK) RaiseMax Force
  when InBigBlind and Opponents = 1 and (Hand = QQ or Hand = JJ) RaiseMax Force
  when InBigBlind and Opponents = 1 and LastRaiserPosition <= 4 and (Hand = AK) RaiseMax Force
  when InBigBlind and Opponents = 1 and (Hand = AK) Call Force
  when InBigBlind and Opponents = 1 and (Hand = TT or Hand = 99) RaiseMax Force
  when InBigBlind and Opponents = 1 and Raises = 1 and Calls = 0 and (lastraiserposition = 1 or lastraiserposition = 2) and (Hand = JJ or Hand = TT or Hand = 99 or Hand = AQ suited or Hand = AJ suited or Hand = AT suited) RaiseMax Force
  when InSmallBlind and Opponents = 1 and (Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited) RaiseMax Force

  when InSmallBlind and Opponents = 1 and BotsLastAction = Raise and (Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ or Hand = AJ or Hand = AT or Hand = A9 or Hand = A8 or PairInHand or Hand = KQ or Hand = KJ or Hand = QJ suited or Hand = JT suited) Call Force

  when (Hand = QQ) RaiseMax Force
  when (Hand = AK suited) Raise Force
  when (Hand = AQ suited or Hand = JJ or Hand = TT) Call Force
  when (Hand = AJ suited) Call Force
  when (Hand = AK) Call Force
  when (Amounttocall <= 5 or InBigBlind or InSmallBlind) and (Hand = 99 or Hand = AQ or Hand = AJ or Hand = AT suited) Call Force
  when (Hand = KQ suited or Hand = KJ suited or Hand = AT or Hand = QJ suited) and InBigBlind Call Force
  when (Hand = 88 or Hand = 77) and InBigBlind Call Force
  when BotsLastAction = Raise and Raises = 1 and InSmallBlind and Opponents = 1 and (PairInHand or Hand = A or Hand = KQ or Hand = KJ or Hand = KT) Call Force
  when TotalInvested >= 100% StackSize Call Force

  when Others Fold Force

// //

// Raises > 1

when Raises > 1 and StackSize <= 11
  when (Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88 or Hand = 77 or Hand = 66) RaiseMax Force
  when (Hand = AQ suited or Hand = AJ suited) Call Force

when Raises > 1 and Amounttocall <= 4
  when (BotsLastAction = Raise or BotsLastAction = Call) and (Hand = QQ or Hand = JJ or Hand = TT or Hand = AK) Call Force
  when (Hand = AA or Hand = KK) and Random < 50 Raise 150% Force
  when (Hand = AA or Hand = KK) RaiseMax Force
  when (Hand = QQ) Call Force
  when (Hand = AK suited) Call Force
  when (Hand = JJ or Hand = TT or Hand = AK) Call Force
  when (Hand = AQ or Hand = AJ suited or Hand = 99) and TotalInvested >= 89% StackSize Call Force
  when (Hand = AJ or Hand = AT suited or Hand = 88 or Hand = KQ suited) and TotalInvested >= 101% StackSize Call Force
  when BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 20% StackSize Call Force
  when TotalInvested >= 101% StackSize Call Force

when Raises > 1 and Opponents = 1 and lastRaiserposition = 1 and InBigBlind and BotsLastAction = Raise and Opponents = 1
  when (PairInHand or Hand = AQ or Hand = AJ suited or Hand = AT suited) and not (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) RaiseMax Force
  when (Hand = AT or Hand = AJ or Hand = A9 or Hand = A8 or Hand = A7) Call Force
  when (Hand = A6 or Hand = A5 suited or Hand = A4 suited or Hand = A3 suited) and Amounttocall <= 3 Call Force
  when (Hand = KQ or Hand = KJ or Hand = QJ or Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Call Force
  when (Hand = KT suited or Hand = QT suited or Hand = JT suited) and Amounttocall <= 4 Call Force
  when TotalInvested >= 101% StackSize Call Force

when In SmallBlind and BotsLastAction = Raise and Opponents = 1
  when (PairInHand or Hand = AQ or Hand = AJ suited or Hand = AT suited) and not (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) RaiseMax Force
  when (Hand = AT or Hand = AJ or Hand = A9 or Hand = A8 or Hand = A7) Call Force
  when (Hand = A6 or Hand = A5 suited or Hand = A4 suited or Hand = A3 suited) and Amounttocall <= 3 Call Force
  when (Hand = KQ or Hand = KJ or Hand = QJ or Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55) Call Force
  when (Hand = KT suited or Hand = QT suited or Hand = JT suited) and Amounttocall <= 3 Call Force
  when TotalInvested >= 101% StackSize Call Force

when Raises > 1 and Amounttocall > 3
  when (BotsLastAction = Raise or BotsLastAction = Call) and (Hand = QQ) Call Force
  when (Hand = AA or Hand = KK) and Random < 50 Raise 150% Force
  when (Hand = AA or Hand = KK) RaiseMax Force
  when (Hand = QQ or Hand = AK suited) Call Force
  when (Hand = AK or Hand = JJ or Hand = TT) and Amounttocall <= 10 Call Force
  when (Hand = AK or Hand = JJ or Hand = TT) and TotalInvested >= 89% StackSize Call Force
  when (Hand = AQ or Hand = AJ suited or Hand = 99) and TotalInvested >= 101% StackSize Call Force
  when (Hand = AJ or Hand = AT suited or Hand = 88 or Hand = KQ suited) and TotalInvested >= 110% StackSize Call Force
  when BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 20% StackSize Call Force
  when TotalInvested >= 101% StackSize Call Force
  when Others Fold Force

when Others
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ) RaiseMax Force
  when BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 20% StackSize Call Force
  when Others Fold Force

//

flop

// Phil... fixaroo
when Overcards <= 1 and not (opponentsattable= 1 or BotsLastAction = Raise or Hand = A or HavePair or HaveFlush or HaveStraight or haveflushdraw or havestraightdraw or opponents < 2) Fold Force

//Phil... fix for crazy default Play
when HaveUnderPair and PairOnBoard and not (HaveFullHouse or HaveFlush or HaveStraight or HaveQuads) and (Bets = 1 or Raises = 1) and AmountToCall > 4 Fold Force

//Phil.. we need more aggression for the sets we make...if we lose to a higher set...tough luck
when HaveSet and SuitsOnBoard > 1 and not PairOnBoard and not StraightPossible and Bets = 0 and raises = 0 and Position = First RaisePot Force
when HaveSet and SuitsOnBoard > 1 and not PairOnBoard and not StraightPossible and Bets = 0 and raises = 0 and (Position = Middle or Position = Last) RaisePot Force
when HaveSet and SuitsOnBoard > 1 and not (PairOnBoard or RaisesBeforeFlop or StraightPossible) and Raises = 1 Raise 200% Force
when HaveSet and SuitsOnBoard > 1 and not (PairOnBoard or RaisesBeforeFlop or StraightPossible) and Raises > 1 RaiseMax Force
when HaveSet and SuitsOnBoard > 1 and not PairOnBoard and not StraightPossible and Raises >= 1 RaiseMax Force

//Phil... need some aggression
when Hand = AA and BotsLastAction = Raise and not (bigblindsize <= 40 or StraightPossible or FlushPossible or PairOnBoard) Raise 300% Force
when Hand = KK and BotsLastAction = Raise and not (bigblindsize <= 40 or StraightPossible or FlushPossible or PairOnBoard or Board = A) Raise 300% Force
when Hand = QQ and BotsLastAction = Raise and not (bigblindsize <= 40 or StraightPossible or FlushPossible or PairOnBoard or Board = A or Board = K) and Opponents <= 2 Raise 300% Force

//Phil... fix for straight and flushdraws when there is one Bet
when not (opponentsattable = 3) and HaveStraightDraw and not (HaveStraight or HaveFlush or suitsonboard = 1) and raises = 0 and Bets = 1 and AmountToCall <= 30% potsize Call Force
when not (opponentsattable = 3) and HaveFlushDraw and not (HaveStraight or HaveFlush or paironboard) and SuitsOnBoard = 2 and Bets = 1 and raises = 0 and AmountToCall <= 35% potsize Call Force

when TotalInvested >= 120% StackSize and (Bets = 0 or Raises = 0) RaiseMax Force
when TotalInvested >= 125% StackSize and (Bets = 1 or Raises > 0) RaiseMax Force

// General to all Play stages

//phil guidance from how to play sngs
//when bigblindsize <= 40 and (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = AK or hand = TT or hand = 99 or hand = 88 or hand = 77) and potsize >= 33% stacksize and (haveoverpair or havetoppair) and not (paironboard or haveset or suitsonboard = 1) Raisemax Force
//when bigblindsize <= 40 and (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = AK) and raises >=1 and (haveoverpair or havetoppair) and not (haveflush or haveset or paironboard or havestraight) Raisemax Force
//when bigblindsize <= 40 and (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = AK or hand = TT or hand = 99 or hand = 88 or hand = 77) and (haveoverpair or havetoppair) and not (suitsonboard = 1 or haveflush or haveset or paironboard or havestraight) Raisepot Force
//when bigblindsize <= 40 and (hand = AK) and not (havepair or haveflushdraw or havestraightdraw or havestraight or haveflush) fold force
//when bigblindsize <= 40 and (hand = kk) and board = A and not (haveset or havefullhouse or haveflushdraw or havestraightdraw) fold force
//when bigblindsize <= 40 and (hand = QQ) and (board = A or board = K) and not (haveset or havefullhouse or haveflushdraw or havestraightdraw) fold force
//when bigblindsize <= 40 and (hand = JJ) and (board = A or board = K or board = Q) and not (board = QQ or haveset or havefullhouse or haveflushdraw or havestraightdraw) fold force
//when bigblindsize <= 40 and (hand = TT) and (board = A or board = K or board = Q or board = J) and not (haveset or havefullhouse or haveflushdraw or havestraightdraw) fold force
//when bigblindsize <= 40 and (hand = 99) and (board = A or board = K or board = Q or board = J or board = T) and not (haveset or havefullhouse or haveflushdraw or havestraightdraw) fold force
//when bigblindsize <= 40 and (hand = 88) and  (board = A or board = K or board = Q or board = J or board = T or board = 9) and not (haveset or havefullhouse or haveflushdraw or havestraightdraw) fold force
//when bigblindsize <= 40 and (hand = 77) and  (board = A or board = K or board = Q or board = J or board = T or board = 9 or board = 8) and not (haveset or havefullhouse or haveflushdraw or havestraightdraw) fold force
//when bigblindsize <= 40 and (bets = 1 or raises = 1) and (hand = AQ or hand = AJ or hand = KQ) and havetoppair and not (havebestkicker or haveflush or havetrips or havestraight or haveflushdraw or havestraightdraw) fold force
//when bigblindsize <= 40 and bets = 0 and botsactionsonthisround = 0 and (hand = AQ or hand = AJ or hand =KQ) and havetoppair Raisepot Force



//Phil...fold most when checkraised
//when bigblindsize <=40 and not (havetwopair or haveoverpair or haveset or havefullhouse or haveflush or havestraight) and (botslastaction = bet or botslastaction = raise) and not (hand = A and havetrips) and botsactionsonthisround = 1 fold Force

//back to sam

when OpponentsAtTable = 1 and (Hand = AA) Raise 150% Force
when OpponentsAtTable = 1 and (Hand = KK) and not (Board = A) Raise 75% Force

when OpponentsAtTable <= 2 and (Hand = AA) RaisePot Force
when OpponentsAtTable <= 2 and (Hand = KK) and not (Board = A) RaisePot Force
when OpponentsAtTable <= 2 and Opponents = 1 and (Hand = QQ) and not (Board = A or Board = K) RaisePot Force

when OpponentsAtTable <= 3 and (Hand = AA) RaiseMax Force
when OpponentsAtTable <= 3 and (Hand = KK) and not (Board = A) RaiseMax Force
when OpponentsAtTable <= 3 and (Hand = QQ) and not (Board = A or Board = K) RaiseMax Force
when OpponentsAtTable <= 3 and (Hand = JJ) and not (Board = A or Board = K or Board = Q) RaiseMax Force

when (Hand = Ac A or Hand = Ah A) and not (OneCardStraightPossible or SuitsOnBoard = 1 or PairOnBoard or Board = A) RaisePot Force
when (Hand = AA) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard or Board = A) RaiseMax Force
when (Hand = AA) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard) Raise 50% Force
when (Hand = KK) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard or AcePresentOnFlop or Board = K) RaiseMax Force
when (Hand = KK) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard or AcePresentOnFlop) Raise 50% Force
when (Hand = QQ) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard or AcePresentOnFlop or Board = K or Board = A or Board = Q) RaiseMax Force
when (Hand = JJ) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J) RaiseMax Force
when (Hand = TT) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T) RaiseMax Force
when (Hand = 99) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T or Board = 9) RaiseMax Force
when (Hand = 88) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T or Board = 9 or Board = 8) RaiseMax Force
when (Hand = 77) and not (OneCardStraightPossible or SuitsOnBoard <= 2 or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T or Board = 9 or Board = 8 or Board = 7) RaiseMax Force
when HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard or SuitsOnBoard <= 2) RaisePot Force
when HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
when HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
when HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
when HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
when HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force

when (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55 or Hand = 66 or Hand = 77) and not (HaveSet or HaveStraight or HaveTrips or HaveFullHouse or HaveQuads or HaveStraightFlush or HaveTwoPair) Fold Force
when (Hand = 87 suited or Hand = 76 suited or Hand = 65 suited or Hand = 54 suited or Hand = 43 suited) and not (HaveFlush or HaveStraight or HaveTopPair or HaveSet or HaveFullHouse or HaveQuads or HaveStraightFlush or HaveTwoPair) Fold Force
when (Hand = T8 suited or Hand = 97 suited or Hand = 86 suited) and not (HaveFlush or HaveStraight or HaveTopPair or HaveSet or HaveFullHouse or HaveQuads or HaveStraightFlush or HaveTwoPair) Fold Force

when (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55 or Hand = 66 or Hand = 77) and HaveTwoPair and PairOnBoard and Raises = 0 and Bets = 0 Raise 3 Force
when (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55 or Hand = 66 or Hand = 77) and HaveTwoPair and PairOnBoard and Raises = 0 and Bets = 1 and BetSize < 100% PotSize Call Force
when (Hand = 22 or Hand = 33 or Hand = 44 or Hand = 55 or Hand = 66 or Hand = 77) and HaveTwoPair and PairOnBoard and Raises >= 1 and Bets = 1 and BetSize > 100% PotSize Fold Force

when BotsLastAction = Raise and TotalInvested >= 100% StackSize and (HaveStraightFlush or HaveQuads or HaveFullHouse or HaveSet or HaveFlush or HaveStraight or HaveTrips or HaveTwoPair or HaveTopPair or HaveOverPair)
  when BigBlindSize <= 40 and StackSize <= 20 RaiseMax Force
  when BigBlindSize <= 60 and StackSize <= 19 RaiseMax Force
  when BigBlindSize <= 80 and StackSize <= 17 RaiseMax Force
  when BigBlindSize <= 100 and StackSize <= 15 RaiseMax Force
  when BigBlindSize <= 120 and StackSize <= 13 RaiseMax Force
  when BigBlindSize <= 160 and StackSize <= 11 RaiseMax Force
  when BigBlindSize <= 200 and StackSize <= 9 RaiseMax Force
  when BigBlindSize <= 300 and StackSize <= 7 RaiseMax Force
  when BigBlindSize <= 400 and StackSize <= 5 RaiseMax Force
  when BigBlindSize > 400 and StackSize <= 3 RaiseMax Force

when OpponentsAtTable = 1

  when OpponentsAtTable = 1 and TotalInvested >= 105% StackSize and (Bets = 0 or Raises = 0) RaiseMax Force
  when OpponentsAtTable = 1 and TotalInvested >= 110% StackSize and (Bets = 1 or Raises > 0) RaiseMax Force

  when OpponentsAtTable = 1 and Raises = 1 and Calls = 0 and OpponentIsAllIn and StillToAct = 0 and BetSize <= 4 Call Force
  when OpponentsAtTable = 1 and BotsLastAction = Raise and OpponentIsAllIn and Opponents = 1 and BetSize <= 50% PotSize Call Force
  when OpponentsAtTable = 1 and OpponentIsAllIn and Opponents = 1 and BetSize < 2 and (HavePair or HaveStraightDraw or HaveFlushDraw or Overcards = 2) Call Force
  when OpponentsAtTable = 1 and (HaveQuads or HaveFullHouse or HaveStraightFlush or HaveNutStraightFlush or HaveNutFlush) and BotsLastAction = Raise RaiseMax Force
  when OpponentsAtTable = 1 and (HaveQuads or HaveFullHouse or HaveStraightFlush or HaveNutStraightFlush or HaveNutFlush or HaveSet or HaveTrips or HaveStraight) Raise Force
  when OpponentsAtTable = 1 and HaveTwoPair and (not PairOnBoard) and not (FlushPossible or StraightPossible) Raise Force
  when OpponentsAtTable = 1 and HaveTwoPair RaisePot Force
  when OpponentsAtTable = 1 and (Hand = AA) and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
  when OpponentsAtTable = 1 and (Hand = KK) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop) Raise Force
  when OpponentsAtTable = 1 and (Hand = QQ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = A) Raise Force
  when OpponentsAtTable = 1 and (Hand = JJ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q) Raise Force
  when OpponentsAtTable = 1 and (Hand = TT) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J) Raise Force
  when OpponentsAtTable = 1 and HaveNuts and Random <= 25 and BotsLastAction = Call and Bets = 0 and Raises = 0 Call Force
  when OpponentsAtTable = 1 and HaveNuts RaisePot Force
  when OpponentsAtTable = 1 and (Hand = 99) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T) Raise Force
  when OpponentsAtTable = 1 and (Hand = 88) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T or Board = 9) Raise Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
  when OpponentsAtTable = 1 and HaveTopPair and BotsLastAction = Raise RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and BotsLastAction = Call RaisePot Force
  when OpponentsAtTable = 1 and HaveTopPair and NoBettingOnFlop RaisePot Force
  when OpponentsAtTable = 1 and HaveOverPair and not (PairOnBoard or FlushPossible or OneCardStraightPossible or Board = QJ T or Board = KJ T or Board = KQ T or Board = AJ T or Board = AK T or Board = AQ T or Board = KQ J or Board = AK Q or Board = AQ J or Board = AK J) RaiseMax Force
  when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and Bets = 0 and Raises = 0 Raise Force
  when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and not (Board = A or Board = K) and Bets = 0 and Raises = 0 RaiseMax Force
  when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and (Bets = 1 or Raises >= 1) and BetSize <= 2 Raise 50% Force
  when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and (Bets = 1 or Raises >= 1) and BetSize > 5 Call Force
  when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and not (Board = A or Board = K or Board = Q) and (Bets = 1 or Raises >= 1) Raise Force
  when OpponentsAtTable = 1 and HaveOverPair and BotsLastAction = Raise RaiseMax Force
  when OpponentsAtTable = 1 and HaveOverPair RaisePot Force
  when OpponentsAtTable = 1 and HavePair and Bets = 0 and Raises = 0 and Position = Last Raise Force
  when OpponentsAtTable = 1 and HavePair and Bets = 0 and Raises = 0 Raise Force
  when OpponentsAtTable = 1 and HavePair and Raises = 1 and BetSize <= 4 Call Force
  when OpponentsAtTable = 1 and HavePair and Raises >= 1 and AmountToCall <= 30% StackSize Call Force
  when HaveNutFlushDraw and not FlushPossible and Bets = 0 and Raises = 0 Raise 2 Force
  when HaveNutFlushDraw and not FlushPossible and (Bets = 1 or Raises >= 1) and BetSize <= 55% PotSize Call Force
  when HaveNutFlushDraw and Bets = 0 and Raises = 0 Raise 2 Force
  when HaveNutFlushDraw and (Bets = 1 or Raises >= 1) and BetSize <= 45% StackSize Call Force
  when HaveNutFlushDraw and FlushPossible and (Bets = 1 or Raises >= 1) and BetSize <= 50% StackSize and StackSize > 20 Call Force
  when HaveFlushDraw and Bets = 0 and Raises = 0 and Opponents <= 2 Raise 2 Force
  when HaveFlushDraw and Overcards = 2 and (Bets = 1 or Raises >= 1) Call Force
  when HaveFlushDraw Call Force
  when HaveStraightDraw and not FlushPossible and Bets = 0 and Raises = 0 Raise 2 Force
  when HaveStraightDraw and Overcards = 2 and not FlushPossible and Bets = 0 and Raises = 0 Raise 2 Force
  when HaveStraightDraw and Overcards = 2 and not FlushPossible and (Bets = 1 or Raises >= 1) Call Force
  when HaveStraightDraw Call Force
  when OpponentsAtTable = 1 and HavePair and InBigBlind and (BotsLastAction = None or BotsLastAction = Call) and not (PairOnBoard or Board = A or Board = K) and (Bets = 0 or (Bets = 1 and BetSize <= 3)) and OpponentsWithLowerStack = 1 RaisePot Force
  when OpponentsAtTable = 1 and HavePair and InBigBlind and (BotsLastAction = None or BotsLastAction = Call) and not (PairOnBoard or Board = A or Board = K) and (Bets = 0 or (Bets = 1 and BetSize <= 3)) and OpponentsWithLowerStack = 0 and (not OpponentsWithHigherStack = 0) RaiseMax Force
  when OpponentsAtTable = 1 and HavePair and Raises >= 1 and AmountToCall > 30% StackSize Fold Force

when OpponentsAtTable = 1 and not (HaveTopPair or HaveOverPair or HaveTwoPair) and not (PairOnBoard or HaveTrips or HaveSet or HaveStraight or HaveFlush or HaveFullHouse or HaveQuads or HaveStraightFlush or (FlushPossible and not (HaveStraight or HaveFlush) and HaveNutFlushDraw)) and (Hand = A or Hand = K)
  when OpponentsAtTable = 1 and BotsLastAction = Raise and Random >= 20 Raise Force
  when OpponentsAtTable = 1 and BotsLastAction = Raise and BetSize <= 5 Call Force
  when OpponentsAtTable = 1 and CalledOnFlop and BetSize <= 3 Call Force
  when OpponentsAtTable = 1 and NoBettingOnFlop Raise Force
  when OpponentsAtTable = 1 and (Board = As or Board = Kh) and Raises = 0 and Bets = 0 Raise Force
  when OpponentsAtTable = 1 and (Board = Ah or Board = Kd) and Raises = 0 and Bets = 0 Raise Force
  when OpponentsAtTable = 1 and (Board = Ad or Board = Kc) and Raises = 0 and Bets = 0 Raise Force
  when OpponentsAtTable = 1 and BotsLastAction = Call and Raises = 1 and BetSize <= 3 and BigBlindSize < 600 Call Force
  when OpponentsAtTable = 1 and Overcards = 2 and not (PairOnBoard or FlushPossible or StraightPossible) and BigBlindSize < 600 and Bets = 1 and Raises = 0 and BetSize <= 3 Call Force
  when BotIsLastRaiser and (Hand = AK or Hand = AQ or Hand = AJ or Hand = AT or Hand = A9) and not (HaveFullHouse or HaveStraightFlush or HaveNutFlush or HaveTrips or HaveNutStraight or HaveSet or HavePair) and Raises = 0 Raise 2 Force
  when BotIsLastRaiser and (Hand = KQ or Hand = KJ or Hand = QJ) and not (HaveFullHouse or HaveStraightFlush or HaveNutFlush or HaveTrips or HaveNutStraight or HaveSet or HavePair or Board = A or Board = K) and Raises = 0 Raise 2 Force
  when OpponentsAtTable = 1 and InBigBlind and (BotsLastAction = None or BotsLastAction = Call) and not (PairOnBoard or Board = A or Board = K) and (Bets = 0 or (Bets = 1 and BetSize <= 3)) and OpponentsWithLowerStack = 1 RaisePot Force
  when OpponentsAtTable = 1 and InBigBlind and (BotsLastAction = None or BotsLastAction = Call) and not (PairOnBoard or Board = A or Board = K) and (Bets = 0 or (Bets = 1 and BetSize <= 3)) and OpponentsWithLowerStack = 0 and (not OpponentsWithHigherStack = 0) RaiseMax Force

when OpponentsAtTable = 1 and ((BigBlindSize = 80 and StackSize >= 112) or
          (BigBlindSize = 100 and StackSize >= 90) or
          (BigBlindSize = 120 and StackSize >= 75) or
          (BigBlindSize = 160 and StackSize >= 56) or
          (BigBlindSize = 200 and StackSize >= 45) or
          (BigBlindSize = 240 and StackSize >= 37) or
          (BigBlindSize = 300 and StackSize >= 30) or
          (BigBlindSize = 400 and StackSize >= 22) or
          (BigBlindSize = 500 and StackSize >= 18) or
          (BigBlindSize = 600 and StackSize >= 15) or
          (BigBlindSize = 800 and StackSize >= 11))

  when BetSize <= 3 Call Force
  when not (HaveNothing) and OpponentIsAllIn and AmountToCall <= 20% StackSize Call Force
  when Position = Last and Bets = 0 and Raises = 0 RaisePot Force
  when Random <= 20 RaiseMax Force

when OpponentsAtTable = 2
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveStraight or HaveFlush or HaveSet or HaveTrips or HaveTwoPair) RaiseMax Force
  when HaveNuts RaiseMax Force
  when (Hand = AA) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when (Hand = KK) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop) RaiseMax Force
  when (Hand = QQ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = A) RaiseMax Force
  when (Hand = JJ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q) RaiseMax Force
  when (Hand = TT) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J) RaiseMax Force
  when (Hand = 99) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T) RaiseMax Force
  when (Hand = 88) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T or Board = 9) RaiseMax Force
  when HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and BotsLastAction = Raise RaiseMax Force
  when HaveTopPair and BotsLastAction = Call RaisePot Force
  when HaveTopPair and BotsLastAction = None RaisePot Force
  when HaveTopPair RaiseMax Force
  when HaveOverPair and not (PairOnBoard or FlushPossible or OneCardStraightPossible or Board = QJ T or Board = KJ T or Board = KQ T or Board = AJ T or Board = AK T or Board = AQ T or Board = KQ J or Board = AK Q or Board = AQ J or Board = AK J) Raise 2 Force
  when HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and Bets = 0 and Raises = 0 RaiseMax Force
  when HaveOverPair and not (Hand = A or Hand = K) and not (Board = A or Board = K) and Bets = 0 and Raises = 0 RaiseMax Force
  when HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and (Bets = 1 or Raises >= 1) and BetSize <= 2 Raise 50% Force
  when HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and (Bets = 1 or Raises >= 1) and BetSize > 5 Call Force
  when HaveOverPair and not (Hand = A or Hand = K) and not (Board = A or Board = K or Board = Q) and (Bets = 1 or Raises >= 1) Raise Force
  when HaveOverPair RaiseMax Force
  when Position = Last and Opponents = 1 and Random <= 75 and BotRaisedBeforeFlop and Bets = 0 and Raises = 0 RaisePot Force
  when Position = Last and Opponents >= 1 and Random <= 45 and BotRaisedBeforeFlop and Bets = 0 and Raises = 0 Raise 50% Force
  when Position = First and Opponents = 1 and Random > 65 and BotRaisedBeforeFlop and Bets = 0 and Raises = 0 RaisePot Force
  when Opponents = 1 and (HavePair or Overcards = 2) and BetSize <= 3 Call Force

// Bubble

when StackSize <= 15 and StackSize > 9 and OpponentsAtTable = 3

  when (HaveFullHouse or HaveQuads or HaveStraightFlush) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 4 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when (HaveTwoPair or HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = AA RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and (not PairOnBoard) Call Force
  when HaveOverPair and Raises = 1 and (not PairOnBoard) and TotalInvested > 80% StackSize RaiseMax Force
  when HaveOverPair and Raises = 1 and AmountToCall <= 50% StackSize Call Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Raise 50% Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Raises = 1 Raise 50% Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Raises = 1 and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Raises >= 2 Call Force

  when Position = Last and Bets = 0 and Raises = 0 and HaveTopPair RaisePot Force
  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and Bets = 0 and Raises = 0 Raise 2 Force
  when HaveTopPair and Bets = 1 and Raises = 0 and AmountToCall <= 50% PotSize Raise Force
  when HaveTopPair and Bets = 1 and Raises >= 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Bets = 1 and Raises >= 1 and AmountToCall > 25% StackSize Fold Force

  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 56% Force
  when HavePair and Bets = 0 and Raises = 0 Raise 2 Force
  when HavePair and Raises = 1 and BetSize <= 49% StackSize Call Force
  when HavePair and Raises = 1 and BetSize > 49% StackSize Fold Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 RaiseMax Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force
  when Position = Last and Opponents = 1 and Random <= 75 and BotRaisedBeforeFlop and Bets = 0 and Raises = 0 Raise 50% Force
  when Others Fold Force

when StackSize <= 9 and BigBlindSize < 300

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) RaiseMax Force force
  when (HaveStraight or HaveFlush) RaiseMax Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 4 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveTwoPair or HaveSet or Havetrips) RaiseMax Force
  when HaveOverPair RaiseMax Force
  when HaveTopPair RaiseMax Force
  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when HavePair and Bets = 0 and Raises = 0 Raise Force
  when HavePair and Raises = 1 and BetSize <= 49% StackSize Call Force
  when HavePair and Raises = 1 and BetSize > 49% StackSize Fold Force
  when HavePair and Raises >= 1 Fold Force
  when (HaveStraightDraw or HaveFlushDraw) RaiseMax Force
  when Others Fold Force

when StackSize <= 30 and StackSize > 15 and OpponentsAtTable = 3

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 4 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when (HaveTwoPair or HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = AA RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and (not PairOnBoard) Call Force
  when HaveOverPair and Raises = 1 and (not PairOnBoard) and TotalInvested > 80% StackSize RaiseMax Force
  when HaveOverPair and Raises = 1 and AmountToCall <= 50% StackSize Call Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 50% Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and Bets = 0 and Raises = 0 Raise 2 Force
  when HaveTopPair and Bets = 1 and Raises = 0 and AmountToCall <= 50% PotSize Raise Force
  when HaveTopPair and Bets = 1 and Raises >= 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Bets = 1 and Raises >= 1 and AmountToCall > 25% StackSize Fold Force

  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and Raises = 1 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 50% Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when BotRaisedBeforeFlop and (Hand = AK or Hand = AQ suited) and AmountToCall < 2 and Raises = 0 Raise 50% Force
  when Position = Last and Bets = 0 and Raises = 0 and Hand = AK Raise 50% Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 50 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force
  when Position = Last and Opponents = 1 and Random <= 75 and BotRaisedBeforeFlop and Bets = 0 and Raises = 0 Raise 50% Force
  when Others Fold Force

when StackSize > 30 and OpponentsAtTable = 3

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 4 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when (HaveTwoPair or HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveTwoPair or HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = AA RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and (not PairOnBoard) Call Force
  when HaveOverPair and Raises = 1 and (not PairOnBoard) and TotalInvested > 80% StackSize RaiseMax Force
  when HaveOverPair and Raises = 1 and AmountToCall <= 50% StackSize Call Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 50% Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and Bets = 0 and Raises = 0 Raise 2 Force
  when HaveTopPair and Bets = 1 and Raises = 0 and AmountToCall <= 50% PotSize Raise Force
  when HaveTopPair and Bets = 1 and Raises >= 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Bets = 1 and Raises >= 1 and AmountToCall > 25% StackSize Fold Force

  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and bets = 1 and raises = 0 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 50% Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when BotRaisedBeforeFlop and (Hand = AK or Hand = AQ suited) and Raises = 0 and AmountToCall < 2 Raise 50% Force
  when Position = Last and Bets = 0 and Raises = 0 and Hand = AK Raise 50% Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 50 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 50% Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force
  when Position = Last and Opponents = 1 and Random <= 75 and BotRaisedBeforeFlop and Bets = 0 and Raises = 0 Raise 50% Force
  when Others Fold Force

when StackSize <= 15 and StackSize > 9 and BigBlindSize > 200

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) RaiseMax Force force
  when (HaveStraight or HaveFlush) RaiseMax Force
  when (HaveTwoPair or HaveSet or havetrips) RaiseMax Force
  when HaveOverPair RaiseMax Force
  when HaveTopPair RaiseMax Force
  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when HavePair and Bets = 0 and Raises = 0 RaiseMax Force
  when HavePair and Raises = 1 and BetSize <= 49% StackSize Call Force
  when HavePair and Raises = 1 and BetSize > 49% StackSize Fold Force
  when HavePair and Raises >= 1 Fold Force
  when (HaveStraightDraw or HaveFlushDraw) RaiseMax Force
  when Others Fold Force

when StackSize <= 30 and StackSize > 15 and BigBlindSize > 200

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and Opponents = 1 and HaveTopTwoPair and BetSize > 35% StackSize RaiseMax Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and HaveTopTwoPair RaisePot Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 Call Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 2 and BetSize < 40% StackSize Call Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises = 0 Raise 50% Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize > 100% PotSize Fold Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize <= 100% PotSize Call Force
  when HaveTwoPair and (not FlushPossible) and Raises = 1 Raise 50% Force
  when HaveTwoPair and (not FlushPossible) and Raises = 0 Raise 50% Force
  when HaveTopTwoPair and (not PairOnBoard) and Raises > 1 Call Force
  when HaveTopTwoPair and PairOnBoard and Raises > 1 and BetSize < 80% PotSize Call Force
  when HaveTwoPair and PairOnBoard and Raises > 1 and BetSize > 100% PotSize Fold Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 30% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 50% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Hand = AA RaisePot Force
  when HaveOverPair and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and BetSize <= 5 Call Force
  when HaveOverPair and Raises >= 1 Fold Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 2 Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and Bets = 1 and AmountToCall < 3 and Raises = 0 Call Force
  when HaveTopPair and Raises >= 1 and HaveBestKicker and not (FlushPossible or StraightPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and Raises = 1 and HaveBestKicker Raise Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall >= 25% StackSize Fold Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall > 100% PotSize and (not OpponentIsAllIn) Fold Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and (not OpponentIsAllIn) RaiseMax Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall > 100% PotSize Fold Force
  when HaveTopPair and Raises > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises > 1 and AmountToCall > 25% StackSize Fold Force
  when HaveTopPair Call Force

  when Position = Last and Bets = 0 and Raises = 0 and PairInHand and (not PairOnBoard) Raise 50% Force
  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 50% Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and Raises = 1 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 50% Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when Position = Last and BotRaisedBeforeFlop and Raises = 0 and Hand = AK and AmountToCall < 2 Raise 2 Force
  when Position = Last and HavePair and AmountToCall < 2 and Raises = 0 and (BotRaisedBeforeFlop or NoBettingOnFlop) Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Hand = AK Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 50 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force

  when InBigBlind and (NoBettingOnFlop or CalledOnFlop) and Raises = 0 and not (PairOnBoard or Board = A or Board = K or Board = Q or Board = J) RaiseMin Force

  when Others Fold Force

when StackSize > 30 and BigBlindSize > 200

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and Opponents = 1 and HaveTopTwoPair and BetSize > 35% StackSize RaiseMax Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and HaveTopTwoPair RaisePot Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 Call Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 2 and BetSize < 40% StackSize Call Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises = 0 Raise 50% Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize > 120% PotSize Fold Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize <= 120% PotSize Call Force
  when HaveTwoPair and (not FlushPossible) and Raises = 1 Raise 50% Force
  when HaveTwoPair and (not FlushPossible) and Raises = 0 Raise 50% Force
  when HaveTwoPair and Raises > 1 Call Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 30% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 50% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Hand = AA RaisePot Force
  when HaveOverPair and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and BetSize <= 5 Call Force
  when HaveOverPair and Raises >= 1 Fold Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 2 Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and Bets = 1 and AmountToCall < 3 and Raises = 0 Call Force
  when HaveTopPair and Raises >= 1 and HaveBestKicker and not (FlushPossible or StraightPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and Raises = 1 and HaveBestKicker Raise Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall >= 25% StackSize Fold Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall > 100% PotSize and (not OpponentIsAllIn) Fold Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and (not OpponentIsAllIn) RaiseMax Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall > 100% PotSize Fold Force
  when HaveTopPair and Raises > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises > 1 and AmountToCall > 25% StackSize Fold Force
  when HaveTopPair Call Force

  when Position = Last and Bets = 0 and Raises = 0 and PairInHand and (not PairOnBoard) Raise 50% Force
  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 50% Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and Raises = 1 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 50% Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when Position = Last and BotRaisedBeforeFlop and Raises = 0 and AmountToCall < 2 and Hand = AK Raise 50% Force
  when BotRaisedBeforeFlop and Opponents = 1 and Raises = 0 and AmountToCall < 2 and Hand = AK Raise 50% Force

  when Position = Last and BotRaisedBeforeFlop and Raises = 0 and AmountToCall < 2 and Random > 50 Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Raises = 0 and AmountToCall < 2 and Random > 50 Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Hand = AK Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 50 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force

  when InBigBlind and (NoBettingOnFlop or CalledOnFlop) and Raises = 0 and Bets = 0 and not (PairOnBoard or Board = A or Board = K or Board = Q or Board = J) RaiseMin Force

  when Others Fold Force

when StackSize <= 15 and StackSize > 9 and BigBlindSize < 60

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and Opponents = 1 and HaveTopTwoPair and BetSize > 35% StackSize RaiseMax Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and HaveTopTwoPair RaisePot Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 Call Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 2 and BetSize < 40% StackSize Call Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises = 0 Raise 50% Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize > 120% PotSize Fold Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize <= 120% PotSize Call Force
  when HaveTwoPair and (not FlushPossible) and Raises = 1 Raise 50% Force
  when HaveTwoPair and (not FlushPossible) and Raises = 0 Raise 50% Force
  when HaveTwoPair and Raises > 1 Call Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 4 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Hand = AA RaisePot Force
  when HaveOverPair and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 Call Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Raises = 1 Raise 50% Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Raises = 1 and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Raises >= 2 Call Force

  when Position = Last and Bets = 0 and Raises = 0 and HaveTopPair RaisePot Force
  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and Bets = 1 and AmountToCall < 3 and Raises = 0 Call Force
  when HaveTopPair and Raises >= 1 and HaveBestKicker and not (FlushPossible or StraightPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and Raises = 1 and HaveBestKicker Raise Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall >= 25% StackSize Fold Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall > 100% PotSize and (not OpponentIsAllIn) Fold Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and (not OpponentIsAllIn) RaiseMax Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall > 100% PotSize Fold Force
  when HaveTopPair and Raises > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises > 1 and AmountToCall > 25% StackSize Fold Force
  when HaveTopPair Call Force

  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when HavePair and Bets = 0 and Raises = 0 RaiseMin Force
  when HavePair and Raises = 1 and BetSize <= 49% StackSize Call Force
  when HavePair and Raises = 1 and BetSize > 49% StackSize Fold Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 RaiseMax Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when Others Fold Force

when StackSize <= 30 and StackSize > 15 and BigBlindSize < 60

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and Opponents = 1 and HaveTopTwoPair and BetSize > 35% StackSize RaiseMax Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and HaveTopTwoPair RaisePot Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 Call Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 2 and BetSize < 40% StackSize Call Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises = 0 Raise 50% Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize > 120% PotSize Fold Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize <= 120% PotSize Call Force
  when HaveTwoPair and (not FlushPossible) and Raises = 1 Raise 50% Force
  when HaveTwoPair and (not FlushPossible) and Raises = 0 Raise 50% Force
  when HaveTwoPair and Raises > 1 Call Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 4 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Hand = AA RaisePot Force
  when HaveOverPair and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and BetSize <= 5 Call Force
  when HaveOverPair and Raises >= 1 Fold Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 2 Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and Bets = 1 and AmountToCall < 5 and Raises = 0 Call Force
  when HaveTopPair and Raises >= 1 and HaveBestKicker and not (FlushPossible or StraightPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and Raises = 1 and HaveBestKicker Raise Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall >= 25% StackSize Fold Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall > 100% PotSize and (not OpponentIsAllIn) Fold Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and (not OpponentIsAllIn) RaiseMax Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall > 100% PotSize Fold Force
  when HaveTopPair and Raises > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises > 1 and AmountToCall > 25% StackSize Fold Force
  when HaveTopPair Call Force

  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and Raises = 1 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 50% Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when BotRaisedBeforeFlop and (Hand = AK or Hand = AQ suited) and Bets = 0 and Raises = 0 Raise 2 Force
  when Position = Last and Bets = 0 and Raises = 0 and Hand = AK Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Hand = AK Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 50 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force

  when InBigBlind and (NoBettingOnFlop or CalledOnFlop) and Raises = 0 and Bets = 0 and not (PairOnBoard or Board = A or Board = K or Board = Q or Board = J) RaiseMin Force

  when Others Fold Force

when StackSize > 30 and BigBlindSize <= 60

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and Opponents = 1 and HaveTopTwoPair and BetSize > 35% StackSize RaiseMax Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and HaveTopTwoPair RaisePot Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 Call Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 2 and BetSize < 40% StackSize Call Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises = 0 Raise 50% Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize > 120% PotSize Fold Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize <= 120% PotSize Call Force
  when HaveTwoPair and (not FlushPossible) and Raises = 1 Raise 50% Force
  when HaveTwoPair and (not FlushPossible) and Raises = 0 Raise 50% Force
  when HaveTwoPair and Raises > 1 Call Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 4 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) and Bets = 1 and Raises >= 1 RaiseMax Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Hand = AA RaisePot Force
  when HaveOverPair and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and BetSize <= 5 Call Force
  when HaveOverPair and Raises >= 1 Fold Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 2 Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and Bets = 1 and AmountToCall < 3 and Raises = 0 Call Force
  when HaveTopPair and Raises >= 1 and HaveBestKicker and not (FlushPossible or StraightPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and Raises = 1 and HaveBestKicker Raise Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall >= 25% StackSize Fold Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall > 100% PotSize and (not OpponentIsAllIn) Fold Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and (not OpponentIsAllIn) RaiseMax Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall > 100% PotSize Fold Force
  when HaveTopPair and Raises > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises > 1 and AmountToCall > 25% StackSize Fold Force
  when HaveTopPair Call Force

  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and Raises = 1 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 3 Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when BotRaisedBeforeFlop and opponents <=2 and (Hand = AK or Hand = AQ suited) and Bets = 0 and Raises = 0 Raise 2 Force
  when Position = Last and opponents <=2 and Bets = 0 and Raises = 0 and Hand = AK Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Hand = AK Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 50 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force

  when InBigBlind and (NoBettingOnFlop or CalledOnFlop) and Raises = 0 and Bets = 0 and not (PairOnBoard or Board = A or Board = K or Board = Q or Board = J) RaiseMin Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 50% Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when Overcards = 2 and Opponents = 1 and not (PairOnBoard or FlushPossible or StraightPossible) and Bets = 1 and Raises = 0 and AmountToCall <= 3 Call Force

  when Others Fold Force

when StackSize <= 15 and StackSize > 9 and BigBlindSize <= 120

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) RaiseMax Force force

  when (HaveStraight or HaveFlush) RaiseMax Force

  when (HaveSet or HaveTrips) RaiseMax Force

  when HaveTwoPair and (not PairOnBoard) RaiseMax Force
  when HaveTopTwoPair and not (Board = A and Hand = A) RaiseMax Force
  when HaveTopTwoPair and Hand = A RaiseMax Force
  when HaveTwoPair and Raises = 0 RaiseMin Force
  when HaveTwoPair and Raises >= 1 Call Force

  when HaveOverPair RaiseMax Force

  when HaveTopPair RaiseMax Force

  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when opponents <=2 and HavePair and (not HaveTopPair) and Bets = 0 and Raises = 0 Raise 2 Force
  when HavePair and Raises = 1 and BetSize < 5 Call Force
  when HavePair and Raises = 1 and BetSize > 49% StackSize Fold Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and not PairOnBoard RaiseMax Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when Others Fold Force

when StackSize <= 30 and StackSize > 15 and BigBlindSize <= 120

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and Opponents = 1 and HaveTopTwoPair and BetSize > 35% StackSize RaiseMax Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and HaveTopTwoPair RaisePot Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 Call Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 2 and BetSize < 40% StackSize Call Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises = 0 Raise 50% Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize > 120% PotSize Fold Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize <= 120% PotSize Call Force
  when HaveTwoPair and (not FlushPossible) and Raises = 1 Raise 50% Force
  when HaveTwoPair and (not FlushPossible) and Raises = 0 Raise 50% Force
  when HaveTwoPair and Raises > 1 Call Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 30% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 50% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Hand = AA RaisePot Force
  when HaveOverPair and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and BetSize <= 5 Call Force
  when HaveOverPair and Raises >= 1 Fold Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 2 Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and Bets = 1 and AmountToCall < 3 and Raises = 0 Raise 30% Force
  when HaveTopPair and Raises >= 1 and HaveBestKicker and not (FlushPossible or StraightPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and Raises = 1 and HaveBestKicker Raise Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall >= 25% StackSize Fold Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall > 100% PotSize and (not OpponentIsAllIn) Fold Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and (not OpponentIsAllIn) RaiseMax Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall > 100% PotSize Fold Force
  when HaveTopPair and Raises > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises > 1 and AmountToCall > 25% StackSize Fold Force
  when HaveTopPair Call Force

  when Position = Last and Bets = 0 and Raises = 0 and PairInHand and (not PairOnBoard) Raise 50% Force
  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 50% Force
  when InSmallBlind and BotRaisedBeforeFlop and Opponents = 1 and HavePair and Bets = 0 and Raises = 0 Raise 30% Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and Raises = 1 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 50% Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when Position = Last and BotRaisedBeforeFlop and Raises = 0 and AmountToCall < 2 and Hand = AK Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Hand = AK Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 33 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force

  when InBigBlind and (NoBettingOnFlop or CalledOnFlop) and Raises = 0 and Bets = 0 and not (PairOnBoard or Board = A or Board = K or Board = Q or Board = J) RaiseMin Force

  when Others Fold Force

when StackSize > 30 and BigBlindSize <= 120

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and Opponents = 1 and HaveTopTwoPair and BetSize > 35% StackSize RaiseMax Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and HaveTopTwoPair RaisePot Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 Call Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 2 and BetSize < 40% StackSize Call Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises = 0 Raise 50% Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize > 120% PotSize Fold Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize <= 120% PotSize Call Force
  when HaveTwoPair and (not FlushPossible) and Raises = 1 Raise 50% Force
  when HaveTwoPair and (not FlushPossible) and Raises = 0 Raise 50% Force
  when HaveTwoPair and Raises > 1 Call Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 50% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Hand = AA RaisePot Force
  when HaveOverPair and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and BetSize <= 5 Call Force
  when HaveOverPair and Raises >= 1 Fold Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 2 Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and AmountToCall < 3 and Bets = 1 and Raises = 0 Call Force
  when HaveTopPair and Raises >= 1 and HaveBestKicker and not (FlushPossible or StraightPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and Raises = 1 and HaveBestKicker Raise Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall >= 25% StackSize Fold Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall > 100% PotSize and (not OpponentIsAllIn) Fold Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and (not OpponentIsAllIn) RaiseMax Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall > 100% PotSize Fold Force
  when HaveTopPair and Raises > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises > 1 and AmountToCall > 25% StackSize Fold Force
  when HaveTopPair Call Force

  when Position = Last and Bets = 0 and Raises = 0 and PairInHand and (not PairOnBoard) Raise 50% Force
  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 50% Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and Raises = 1 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 50% Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when Position = Last and BotRaisedBeforeFlop and Raises = 0 and AmountToCall < 2 and Hand = AK Raise 50% Force
  when BotRaisedBeforeFlop and Opponents = 1 and Raises = 0 and AmountToCall < 2 and Hand = AK Raise 50% Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 50 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force

  when Position = Last and BotRaisedBeforeFlop and Bets = 0 and Raises = 0 and Random > 50 Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random > 50 Raise 2 Force

  when Others Fold Force

when StackSize <= 15 and StackSize > 9 and BigBlindSize <= 200

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) RaiseMax Force force

  when (HaveStraight or HaveFlush) RaiseMax Force

  when (HaveTwoPair or HaveSet or HaveTrips) RaiseMax Force

  when HaveOverPair RaiseMax Force

  when HaveTopPair RaiseMax Force

  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when HavePair and Bets = 0 and Raises = 0 RaiseMin Force
  when HavePair and Raises = 1 and BetSize <= 49% StackSize Call Force
  when HavePair and Raises = 1 and BetSize > 49% StackSize Fold Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Opponents <= 2 RaiseMax Force

  when Others Fold Force

when StackSize <= 30 and StackSize > 15 and BigBlindSize <= 200

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when (HaveTwoPair or HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and Opponents = 1 and HaveTopTwoPair and BetSize > 35% StackSize RaiseMax Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and HaveTopTwoPair RaisePot Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 Call Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 2 and BetSize < 40% StackSize Call Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises = 0 Raise 50% Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize > 120% PotSize Fold Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize <= 120% PotSize Call Force
  when HaveTwoPair and (not FlushPossible) and Raises = 1 Raise 50% Force
  when HaveTwoPair and (not FlushPossible) and Raises = 0 Raise 50% Force
  when HaveTwoPair and Raises > 1 Call Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 30% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 50% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Hand = AA RaisePot Force
  when HaveOverPair and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and BetSize <= 5 Call Force
  when HaveOverPair and Raises >= 1 Fold Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 2 Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and Bets = 1 and AmountToCall < 3 and Raises = 0 Call Force
  when HaveTopPair and Raises >= 1 and HaveBestKicker and not (FlushPossible or StraightPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and Raises = 1 and HaveBestKicker Raise Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall >= 25% StackSize Fold Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall > 100% PotSize and (not OpponentIsAllIn) Fold Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and (not OpponentIsAllIn) RaiseMax Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall > 100% PotSize Fold Force
  when HaveTopPair and Raises > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises > 1 and AmountToCall > 25% StackSize Fold Force
  when HaveTopPair Call Force

  when Position = Last and Bets = 0 and Raises = 0 and PairInHand and (not PairOnBoard) Raise 50% Force
  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 50% Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and Raises = 1 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 50% Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when Position = Last and BotRaisedBeforeFlop and Raises = 0 and AmountToCall < 2 and Hand = AK Raise 50% Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and AmountToCall < 2 and Raises = 0 and Hand = AK Raise 50% Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 50 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force

  when Others Fold Force

when StackSize > 30 and BigBlindSize <= 200

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises > 1 Call Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 1 Raise 50% Force
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) and Raises = 0 Raise 50% Force

  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises > 1 Call Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveStraight or HaveFlush) and (not FlushPossible) and Raises = 0 Raise 50% Force
  when (HaveStraight or HaveFlush) RaisePot Force

  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and Opponents = 1 and HaveTopTwoPair and BetSize > 35% StackSize RaiseMax Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 and HaveTopTwoPair RaisePot Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 1 Call Force
  when HaveTwoPair and HaveTopPair and not (FlushPossible or PairOnBoard) and Raises = 2 and BetSize < 40% StackSize Call Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises = 0 Raise 50% Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize > 120% PotSize Fold Force
  when HaveTwoPair and (FlushPossible or StraightPossible or PairOnBoard) and Raises >= 1 and BetSize <= 120% PotSize Call Force
  when HaveTwoPair and (not FlushPossible) and Raises = 1 Raise 50% Force
  when HaveTwoPair and (not FlushPossible) and Raises = 0 Raise 50% Force
  when HaveTwoPair and Raises > 1 Call Force

  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 50% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when HaveOverPair and Hand = AA RaisePot Force
  when HaveOverPair and Hand = KK and not (Board = A) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = QQ and not (Board = A or Board = K) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = JJ and not (Board = A or Board = K or Board = Q) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = TT and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) and Hand = 99 and not (Board = A or Board = K or Board = Q or Board = J) RaisePot Force
  when HaveOverPair and Raises = 0 and (Bets = 0 or (Bets = 1 and BetSize < 4)) Raise 50% Force
  when HaveOverPair and Raises = 1 and BetSize <= 5 Call Force
  when HaveOverPair and Raises >= 1 Fold Force

  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and Bets = 0 and Raises = 0 Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) Raise 2 Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises = 1) and BotsLastAction = Raise Raise Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BetSize <= 3 and BotsLastAction = Raise Call Force
  when (not BotIsLastRaiser) and HaveTopPair and HaveBestKicker and (Bets = 1 or Raises >= 2) and BotsLastAction = Raise Fold Force

  when HaveTopPair and Bets = 0 and Raises = 0 and Random < 75 Raise 50% Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and AmountToCall < 3 and Bets = 1 and Raises = 0 Call Force
  when HaveTopPair and Raises >= 1 and HaveBestKicker and not (FlushPossible or StraightPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and Raises = 1 and HaveBestKicker Raise Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises = 1 and Calls >= 1 and Opponents > 1 and AmountToCall >= 25% StackSize Fold Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises = 1 and Opponents = 1 and AmountToCall > 100% PotSize and (not OpponentIsAllIn) Fold Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and (not OpponentIsAllIn) RaiseMax Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall <= 100% PotSize Call Force
  when HaveTopPair and Raises > 1 and BotsLastAction = Raise and Opponents = 1 and OpponentIsAllIn and AmountToCall > 100% PotSize Fold Force
  when HaveTopPair and Raises > 1 and AmountToCall <= 25% StackSize Call Force
  when HaveTopPair and Raises > 1 and AmountToCall > 25% StackSize Fold Force
  when HaveTopPair Call Force

  when Position = Last and Bets = 0 and Raises = 0 and PairInHand and (not PairOnBoard) Raise 50% Force
  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 50% Force
  when HavePair and Bets = 0 and Raises = 0 Call Force
  when HavePair and Raises = 1 and BetSize <= 3 Call Force
  when HavePair and Raises >= 1 Fold Force

  when (HaveStraightDraw or HaveFlushDraw) and Bets = 0 and Raises = 0 Raise 50% Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises = 1 and BetSize <= 50% PotSize Call Force
  when (HaveStraightDraw or HaveFlushDraw) and Raises >= 1 Fold Force
  when (Overcards = 2 or HaveInsideStraightDraw) and Opponents <= 2 and BetSize = 1 Call Force

  when Position = Last and BotRaisedBeforeFlop and Raises = 0 and AmountToCall < 2 and Hand = AK Raise 50% Force
  when BotRaisedBeforeFlop and Opponents = 1 and Raises = 0 and AmountToCall < 2 and Hand = AK Raise 50% Force

  when Position = Last and BotRaisedBeforeFlop and Raises = 0 and Bets = 0 and Random > 70 Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Raises = 0 and Bets = 0 and Random > 50 Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Hand = AK Raise 2 Force
  when BotRaisedBeforeFlop and Opponents = 1 and Bets = 0 and Raises = 0 and Random < 50 and (Hand = AT or Hand = KQ or Hand = KJ suited) Raise 50% Force

  when BotRaisedBeforeFlop and Raises = 0 and Bets = 0 and Random > 50 Raise 2 Force
  when InBigBlind and (NoBettingOnFlop or CalledOnFlop) and Raises = 0 and Bets = 0 and not (PairOnBoard or Board = A or Board = K or Board = Q or Board = J) Raise 2 Force
  when InSmallBlind and CalledOnFlop and Opponents = 1 and Raises = 0 and Bets = 0 and not (FlushPossible or StraightPossible or PairOnBoard) Raise 3 Force

when BotsLastAction = Raise and TotalInvested >= 100% StackSize and TotalInvested >= 100% StackSize and (HaveStraightFlush or HaveQuads or HaveFullHouse or HaveSet or HaveFlush or HaveStraight or HaveTrips or HaveTwoPair or HaveTopPair or HaveOverPair)

  when BigBlindSize <= 40 and StackSize <= 20 RaiseMax Force
  when BigBlindSize <= 60 and StackSize <= 19 RaiseMax Force
  when BigBlindSize <= 80 and StackSize <= 17 RaiseMax Force
  when BigBlindSize <= 100 and StackSize <= 15 RaiseMax Force
  when BigBlindSize <= 120 and StackSize <= 13 RaiseMax Force
  when BigBlindSize <= 160 and StackSize <= 11 RaiseMax Force
  when BigBlindSize <= 200 and StackSize <= 9 RaiseMax Force
  when BigBlindSize <= 300 and StackSize <= 7 RaiseMax Force
  when BigBlindSize <= 400 and StackSize <= 5 RaiseMax Force
  when BigBlindSize > 400 and StackSize <= 3 RaiseMax Force

when BotRaisedBeforeFlop and (Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99) and Opponents <= 1
  when Bets = 0 and Raises = 0 and StackSize >= 20 Raise 2 Force
  when Bets = 1 and Raises = 0 and StackSize >= 20 and BetSize <= 2 Call Force
  when Others Fold Force

turn

// philly fixes

// Phil...fixaroo
when Overcards <= 1 and not (botslastaction = bet or Hand = A or HavePair or HaveFlush or HaveStraight or havestraightdraw or haveflushdraw) Fold Force

// Phil...another try
when HaveTopPair and PairOnBoard and Have3rdBestKickerOrBetter and not (HaveTrips or HaveStraight or HaveFullHouse or HaveSet or HaveFlush or StraightPossible or FlushPossible) and Opponents = 1 and AmountToCall < 26% PotSize Call Force

//Phil... slowplay nutstraight
when HaveNutStraight and SuitsOnBoard >= 3 and Bets = 0 and Raises = 0 bet 50% Force

//Phil... fix for crazy default Play
when HaveUnderPair and PairOnBoard and not (HaveFullHouse or HaveFlush or HaveStraight or HaveQuads) and (Bets = 1 or Raises = 1) and AmountToCall > 4 Fold Force

// fixed later on In code where we would Raise 50% to ANY size Bet if we are In big blind and NoBettingOnFlop

//phil... fixed folding for no reason
when Opponents = 1 and AmountToCall = 1 and HavePair and not (TwoPairOnBoard or OneCardStraightPossible or OneCardFlushPossible or HaveTopPair or HaveStraight or HaveFlush) Call Force
when Opponents <= 2 and AmountToCall <= 2 and not (bigblindsize >=100 or raises >= 1 or havepair or havestraight or haveflush or suitsonboard = 1 or betsize >= 35% Potsize) and (havestraightdraw or hand = A) Call Force

// Phil...easy fix
when QuadsOnBoard and Hand = A RaiseMax Force

// Phil...instead of raising max
when TripsOnBoard and not QuadsOnBoard and HaveQuads and Raises = 0 Raise 50% Force
when TripsOnBoard and not QuadsOnBoard and HaveQuads and Raises >= 1 RaiseMax Force

// Phil...um we better just Fold
when TwoPairOnBoard and HaveUnderPair and not (HaveStraightDraw or HaveFlushDraw) Fold Force

// Phil...folding when we are most likely beat
when TwoPairOnBoard and not HavePair and not (Hand = A) and AmountToCall > 1 Fold Force

when OpponentsAtTable = 1 and HaveNuts and Random <= 20 and BotsLastAction = Call and Bets = 0 and Raises = 0 Call Force
when OpponentsAtTable = 1 and HaveNuts RaiseMax Force

when OpponentsAtTable = 1 and (Hand = AA) RaiseMax Force
when OpponentsAtTable = 1 and (Hand = KK) and not (Board = A) RaiseMax Force

when OpponentsAtTable <= 2 and (Hand = AA) RaiseMax Force
when OpponentsAtTable <= 2 and (Hand = KK) and not (Board = A) RaiseMax Force
when OpponentsAtTable <= 2 and Opponents = 1 and (Hand = QQ) and not (Board = A or Board = K) RaiseMax Force

when OpponentsAtTable = 1 and TotalInvested >= 115% StackSize and (Bets = 0 or Raises = 0) RaiseMax Force
when OpponentsAtTable = 1 and TotalInvested >= 125% StackSize and (Bets = 1 or Raises > 0) RaiseMax Force
when OpponentsAtTable = 1 and Raises = 1 and Calls = 0 and OpponentIsAllIn and StillToAct = 0 and BetSize <= 4 Call Force
when OpponentsAtTable = 1 and BotsLastAction = Raise and OpponentIsAllIn and Opponents = 1 and BetSize <= 50% PotSize Call Force
when OpponentsAtTable = 1 and OpponentIsAllIn and Opponents = 1 and BetSize < 2 and (HavePair or HaveStraightDraw or HaveFlushDraw or Overcards = 2) Call Force
when OpponentsAtTable = 1 and (HaveQuads or HaveFullHouse or HaveStraightFlush or HaveNutStraightFlush or HaveNutFlush) and BotsLastAction = Raise RaiseMax Force
when OpponentsAtTable = 1 and (HaveQuads or HaveFullHouse or HaveStraightFlush or HaveNutStraightFlush or HaveNutFlush or HaveSet or HaveTrips or HaveStraight) Raise Force
when OpponentsAtTable = 1 and HaveTwoPair and (not PairOnBoard) and not (FlushPossible or StraightPossible) Raise Force
when OpponentsAtTable = 1 and HaveTwoPair RaiseMax Force
when OpponentsAtTable = 1 and (Hand = AA) and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
when OpponentsAtTable = 1 and (Hand = KK) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop) Raise Force
when OpponentsAtTable = 1 and (Hand = QQ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = A) Raise Force
when OpponentsAtTable = 1 and (Hand = JJ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q) Raise Force
when OpponentsAtTable = 1 and HaveNuts and Random <= 20 and BotsLastAction = Call and Bets = 0 and Raises = 0 Call Force
when OpponentsAtTable = 1 and HaveNuts RaiseMax Force
when OpponentsAtTable = 1 and (Hand = TT) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J) RaiseMax Force
when OpponentsAtTable = 1 and (Hand = 99) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T) RaiseMax Force
when OpponentsAtTable = 1 and (Hand = 88) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T or Board = 9) RaiseMax Force
when OpponentsAtTable = 1 and HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaisePot Force
when OpponentsAtTable = 1 and HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaisePot Force
when OpponentsAtTable = 1 and HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (StraightPossible or FlushPossible or PairOnBoard) RaisePot Force
when OpponentsAtTable = 1 and HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (StraightPossible or FlushPossible or PairOnBoard) RaisePot Force
when OpponentsAtTable = 1 and HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (StraightPossible or FlushPossible or PairOnBoard) RaisePot Force
when OpponentsAtTable = 1 and HaveTopPair and BotsLastAction = Raise RaiseMax Force
when OpponentsAtTable = 1 and HaveTopPair and BotsLastAction = Call Raise Force
when OpponentsAtTable = 1 and HaveTopPair and NoBettingOnFlop RaiseMax Force
when OpponentsAtTable = 1 and HaveTopPair RaiseMax Force
when OpponentsAtTable = 1 and HaveOverPair and not (PairOnBoard or FlushPossible or OneCardStraightPossible or Board = QJ T or Board = KJ T or Board = KQ T or Board = AJ T or Board = AK T or Board = AQ T or Board = KQ J or Board = AK Q or Board = AQ J or Board = AK J) RaiseMax Force
when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and Bets = 0 and Raises = 0 Raise Force
when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and not (Board = A or Board = K) and Bets = 0 and Raises = 0 RaiseMax Force
when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and (Bets = 1 or Raises >= 1) and BetSize <= 2 Raise 50% Force
when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and (Bets = 1 or Raises >= 1) and BetSize > 5 Call Force
when OpponentsAtTable = 1 and HaveOverPair and not (Hand = A or Hand = K) and not (Board = A or Board = K or Board = Q) and (Bets = 1 or Raises >= 1) Raise Force
when OpponentsAtTable = 1 and HaveOverPair RaiseMax Force
when OpponentsAtTable = 1 and HavePair and Raises = 0 and BotsLastAction = Raise and (Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) RaiseMax Force
when OpponentsAtTable = 1 and HavePair and Raises = 1 and BetSize <= 4 and BotsLastAction = Raise and (Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) RaiseMax Force
when OpponentsAtTable = 1 and HavePair and Raises = 0 and BotsLastAction = Raise and Opponents = 1 and Hand = K and Board = K Raise Force
when OpponentsAtTable = 1 and HavePair and Raises = 0 and BotsLastAction = Raise and Opponents = 1 and Hand = Q and Board = Q Raise Force
when OpponentsAtTable = 1 and HavePair and Raises = 1 and BetSize <= 4 and BotsLastAction = Raise and Opponents = 1 and Hand = K and Board = K RaiseMin Force
when OpponentsAtTable = 1 and HavePair and Raises = 1 and BetSize <= 4 and BotsLastAction = Raise and Opponents = 1 and Hand = Q and Board = Q RaiseMin Force
when OpponentsAtTable = 1 and HavePair and (not FlushPossible) and (not PairOnBoard) and Bets = 0 and Raises = 0 RaiseMin Force
when OpponentsAtTable = 1 and HavePair and SuitsOnBoard = 2 and (HaveFlushDraw or HaveStraightDraw) and Bets = 0 and Raises = 0 RaiseMin Force
when OpponentsAtTable = 1 and HavePair and SuitsOnBoard = 2 and (HaveFlushDraw or HaveStraightDraw) and (Bets = 1 or Raises = 1) and BetSize <= 25% PotSize RaiseMin Force
when OpponentsAtTable = 1 and HavePair and SuitsOnBoard = 2 and (HaveFlushDraw or HaveStraightDraw) and (Bets = 1 or Raises = 1) and BetSize <= 100% PotSize Call Force
when OpponentsAtTable = 1 and HavePair and SuitsOnBoard = 2 and (HaveFlushDraw or HaveStraightDraw) and (Bets = 1 or Raises = 1) and BetSize > 100% PotSize Call Force
when OpponentsAtTable = 1 and HavePair and HaveInsideStraightDraw and (Bets = 1 or Raises >= 1) and BetSize <= 34% StackSize Call Force
when OpponentsAtTable = 1 and HavePair and Bets = 0 and Raises = 0 RaisePot Force
when OpponentsAtTable = 1 and HavePair and Bets = 1 and BetSize <= 2 Call Force
when OpponentsAtTable = 1 and HavePair and Bets = 1 and BetSize <= 2 and NoBettingOnFlop and StackSize <= 5 RaiseMax Force
when OpponentsAtTable = 1 and HaveFlushDraw Call Force
when OpponentsAtTable = 1 and HaveStraightDraw Call Force

when OpponentsAtTable = 1 and not (HaveTopPair or HaveOverPair or HaveTwoPair or PairOnBoard or HaveTrips or HaveSet or HaveStraight or HaveFlush or HaveFullHouse or HaveQuads or HaveStraightFlush or (FlushPossible and not (HaveStraight or HaveFlush) and HaveNutFlushDraw)) and (Hand = A or Hand = K)
  when OpponentsAtTable = 1 and BotsLastAction = Raise raise Force
  when OpponentsAtTable = 1 and CalledOnFlop and BetSize <= 4 Call Force
  when OpponentsAtTable = 1 and NoBettingOnFlop Raise Force
  when OpponentsAtTable = 1 and (Board = As or Board = Kh) and Raises = 0 and Bets = 0 Raise Force
  when OpponentsAtTable = 1 and (Board = Ah or Board = Kd) and Raises = 0 and Bets = 0 Raise Force
  when OpponentsAtTable = 1 and (Board = Ad or Board = Kc) and Raises = 0 and Bets = 0 Raise Force
  when OpponentsAtTable = 1 and Overcards = 2 and not (PairOnBoard or FlushPossible or StraightPossible) and Bets = 1 and Raises = 0 and BetSize <= 4 Call Force

when (OpponentsAtTable = 3 or OpponentsAtTable = 2)

  when HaveNuts and Random < 33 Raise 50% Force
  when HaveNuts and Random < 50 RaisePot Force
  when HaveNuts and Random <= 80 RaiseMin Force
  when HaveNuts and Random > 80 RaiseMax Force

when OpponentsAtTable = 2
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveStraight or HaveFlush or HaveSet or HaveTrips or HaveTwoPair) RaiseMax Force
  when HaveNuts RaiseMax Force
  when (Hand = AA) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when (Hand = KK) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop) RaiseMax Force
  when (Hand = QQ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = A) RaiseMax Force
  when (Hand = JJ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q) RaiseMax Force
  when (Hand = TT) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J) RaiseMax Force
  when (Hand = 99) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T) RaiseMax Force
  when (Hand = 88) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T or Board = 9) RaiseMax Force
  when HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and BotsLastAction = Raise and not BotsLastAction = Check RaiseMax Force
  when HaveTopPair and BotsLastAction = Call Raise Force
  when HaveTopPair and NoBettingOnFlop RaiseMax Force
  when HaveTopPair RaiseMax Force
  when HaveOverPair and not (PairOnBoard or FlushPossible or OneCardStraightPossible or Board = QJ T or Board = KJ T or Board = KQ T or Board = AJ T or Board = AK T or Board = AQ T or Board = KQ J or Board = AK Q or Board = AQ J or Board = AK J) RaiseMax Force
  when HaveOverPair and not (Hand = A or Hand = K) and not (Board = A or Board = K) and Bets = 0 and Raises = 0 RaiseMax Force
  when HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and (Bets = 1 or Raises >= 1) and BetSize <= 2 Call Force
  when HaveOverPair and not (Hand = A or Hand = K) and (Board = A or Board = K) and (Bets = 1 or Raises >= 1) and BetSize > 2 Fold Force
  when HaveOverPair and not (Hand = A or Hand = K) and not (Board = A or Board = K or Board = Q) and (Bets = 1 or Raises >= 1) RaiseMax Force

// Pot Committed

when Opponents <= 8

  when BotsLastAction = Raise and Raises >= 1 and TotalInvested >= 111% StackSize and StackSize <= 20 RaiseMax Force
  when BotsLastAction = Raise and Raises >= 1 and TotalInvested >= 121% StackSize RaiseMax Force
  when BotsLastAction = Call and Raises >= 1 and TotalInvested >= 110% StackSize and StackSize <= 15 Call Force
  when BotsLastAction = Call and Raises >= 1 and TotalInvested >= 120% StackSize Call Force

  when StackSize < 3 and Opponents = 1 and (HavePair or HaveTrips or HaveSet or HaveStraight or HaveFlush or HaveFullHouse or HaveQuads or HaveStraightFlush)
          and not (FlushPossible) and (HaveFlushDraw or FlushPossible) and (HaveNutFlushDraw or HaveStraightDraw) RaiseMax Force

  when Raises = 1 and Opponents = 1 and OpponentIsAllIn and StillToAct = 0 and BetSize <= 2 Call Force
  when BotsLastAction = Raise and OpponentIsAllIn and Opponents = 1 and BetSize <= 35% PotSize Call Force
  when OpponentIsAllIn and Opponents = 1 and BetSize < 4 and (HavePair or HaveStraightDraw or HaveFlushDraw or Overcards = 2) Call Force

  when QuadsOnBoard and Hand = A RaiseMax Force
  when FullHouseOnBoard RaiseMax Force

  when (HaveQuads or HaveFullHouse or HaveStraightFlush or HaveNutStraightFlush or HaveNutFlush or HaveTopSet or HaveNutStraight) and (BotsLastAction = Raise or BotsLastAction = Bet) RaiseMax Force
  when (HaveQuads or HaveFullHouse or HaveStraightFlush or HaveNutStraightFlush or HaveNutFlush or HaveTopSet or HaveNutStraight) Raise Force

  when HaveTopSet and not (Hand = A or Hand = K or Hand = Q or Hand = J or Hand = T) and not (FlushPossible or StraightPossible or PairOnBoard or Board = A or Board = K or Board = Q or Hand = J or Hand = T) RaiseMax Force
  when HaveTopSet and Hand = A and not (FlushPossible or StraightPossible or PairOnBoard) RaisePot Force
  when HaveTopSet and Hand = K and not (FlushPossible or StraightPossible or PairOnBoard or AcePresentOnFlop) RaisePot Force
  when HaveTopSet and not (FlushPossible or PairOnBoard or StraightPossible) RaiseMax Force

  when HaveNutStraight and (not FlushPossible) and not PairOnBoard RaisePot Force
  when HaveNutStraight and (not FlushPossible) RaiseMax Force
  when Have2ndTopSet and not (Hand = A or Hand = K or Hand = Q) and not (FlushPossible or StraightPossible or PairOnBoard or Board = A or Board = K or Board = Q) RaiseMax Force
  when HaveTopTwoPair and not (FlushPossible or PairOnBoard or StraightPossible) Raise Force
  when HaveTopTwoPair and (not PairOnBoard) RaiseMax Force

  when (HaveTopSet or HaveNutStraight) and (not FlushPossible) RaisePot Force
  when (HaveTopSet or HaveNutStraight) and (not FlushPossible) and BotsLastAction = Raise RaiseMax Force
  when (HaveTopSet or HaveNutStraight) RaisePot Force
  when (HaveTopSet or HaveNutStraight) and BotsLastAction = Raise RaiseMax Force

  when (Have2ndNutFlush or Have3rdNutFlush or Have4thNutFlush) RaisePot Force
  when (Have2ndNutFlush or Have3rdNutFlush or Have4thNutFlush) and (not FourOf1SuiteOnTurn) and BotsLastAction = Raise RaiseMax Force
  when (Have2ndTopSet or Have2ndNutStraight or HaveStraight) and not (FlushPossible and StraightOnBoard) RaiseMax Force
  when (Have2ndTopSet or Have2ndNutStraight or HaveStraight) RaisePot Force
  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when StackSize < 3 and Opponents = 1 and (HavePair or HaveTrips or HaveSet or HaveStraight
          or HaveFlush or HaveFullHouse or HaveQuads or HaveStraightFlush)
          and not (FlushPossible) and (HaveFlushDraw or FlushPossible) and (HaveNutFlushDraw or HaveStraightDraw) RaiseMax Force

// Call Short Stack All-In
  when Raises = 1 and Calls = 0 and OpponentIsAllIn and StillToAct = 0 and BetSize <= 4 Call Force
  when BotsLastAction = Raise and OpponentIsAllIn and Opponents = 1 and BetSize <= 50% PotSize Call Force
  when OpponentIsAllIn and Opponents = 1 and BetSize < 2
          and (HavePair or HaveStraightDraw or HaveFlushDraw or Overcards = 2) Call Force

when CalledOnFlop
  when TotalInvested >= 125% StackSize and (Bets = 0 or Raises = 0) RaiseMax Force
  when TotalInvested >= 135% StackSize and (Bets = 1 or Raises > 0) RaiseMax Force
  when BotsLastAction = Raise RaiseMax Force
  when (HaveFullHouse or HaveStraightFlush or HaveNutFlush or HaveTrips or HaveNutStraight or HaveSet) Raise Force
  when HaveFlush RaiseMax Force
  when HaveStraight RaiseMax Force

  when (HaveSet or HaveTrips) and (FlushPossible or StraightPossible) and Raises = 0 Raise 50% Force
  when HaveSet and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise RaiseMax Force
  when HaveTrips and (FlushPossible or StraightPossible) and Raises >= 1 and BotsLastAction = Raise Call Force
  when (HaveSet or HaveTrips) and Raises > 1 Call Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 1 Raise 50% Force
  when (HaveSet or HaveTrips) and (not FlushPossible) and Raises = 0 Raise 50% Force

  when TwoPairOnBoard and (Hand = A or Hand = K) and BetSize <= 5 Call Force
  when HaveTopTwoPair and (not FlushPossible) and (not OneCardStraightPossible) RaiseMax Force
  when HaveTopTwoPair and (not FlushPossible) RaiseMax Force
  when HaveBottomTwoPair and TwoPairOnBoard and AmountToCall < 7 and Raises = 0 Call Force
  when HaveBottomTwoPair and TwoPairOnBoard and Raises >= 1 Fold Force
  when HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 RaiseMax Force
  when HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when HaveTwoPair and Raises = 0 and NoBettingOnFlop RaiseMax Force
  when HaveTwoPair and Raises >= 1 and (not PairOnBoard) Call Force
  when HaveTwoPair and Raises >= 1 and BetSize <= 2 Call Force
  when HaveTwoPair and Raises = 0 and (not PairOnBoard) RaiseMax Force
  when HaveTwoPair and (not PairOnBoard) RaiseMax Force
  when HaveTwoPair and BotsLastAction = Raise Call Force

  when HaveOverPair and HaveBestKickerOrBetter and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = A) and (Board = A) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = K) and (Board = K) and not (Board = A) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = Q) and (Board = Q) and not (Board = A or Board = K) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = J) and (Board = J) and not (Board = A or Board = K or Board = Q) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = T) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force

  when HaveTopPair and HaveNutFlushDraw and not OneCardStraightPossible RaiseMin Force
  when HaveTopPair and HaveBestKicker and PairOnBoard and Bets = 0 and not OneCardFlushPossible and not OneCardStraightPossible and Raises = 0 Raise 50% Force
  when HaveTopPair and HaveBestKicker and PairOnBoard and Bets = 1 and not OneCardFlushPossible and not OneCardStraightPossible and Raises = 0 and AmountToCall < 50% PotSize Call Force
  when HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and Bets = 0 and Raises = 0 Raise 50% Force
  when HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and (Bets = 1 or Raises = 1) Call Force
  when HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and Raises >= 2 Fold Force
  when HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and (FlushPossible or OneCardStraightPossible) and not PairOnBoard and Bets = 0 and Raises = 0 Call Force
  when HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and FlushPossible and not OneCardStraightPossible and not PairOnBoard and Bets = 0 and Raises = 0 and AcePresentOnFlop RaiseMin Force
  when HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and FlushPossible and not OneCardStraightPossible and not PairOnBoard and Bets = 0 and Raises = 0 and not AcePresentOnFlop Call Force
  when HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and FlushPossible and not OneCardStraightPossible and not PairOnBoard and (Bets = 1 or Raises = 1) and BetSize <= 2 Call Force
  when HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and Bets = 0 and Raises = 0 and AcePresentOnFlop Call Force
  when HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and Bets = 0 and Raises = 0 and not AcePresentOnFlop RaiseMin Force
  when HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and (Bets = 1 or Raises = 1) and (BetSize <= 22% StackSize or BotsLastAction = Raise or BotsLastAction = Bet) Call Force
  when HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and (Bets = 1 or Raises = 1) and BetSize > 22% StackSize Fold Force
  when HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and Raises >= 2 Fold Force

when OpponentCalledOnFlop
  when TotalInvested >= 125% StackSize and (Bets = 0 or Raises = 0) RaiseMax Force
  when TotalInvested >= 135% StackSize and (Bets = 1 or Raises > 0) RaiseMax Force
  when (HaveFullHouse or HaveStraightFlush or HaveNutFlush or HaveNutStraight or HaveTopSet) RaisePot Force
  when HaveFlush RaiseMax Force
  when HaveStraight RaiseMax Force
  when (HaveSet or HaveTrips) and (not PairOnBoard) and TwoOfOneSuitPresentOnFlop RaiseMax Force

  when HaveSet and (not PairOnBoard) and Raises = 0 Raise Force
  when HaveSet and (not PairOnBoard) and Raises >= 1 RaiseMax Force
  when HaveSet and PairOnBoard and Raises = 0 Raise Force
  when HaveSet and PairOnBoard and Raises >= 1 and BetSize <= 3 Raise Force
  when HaveSet and PairOnBoard and Raises >= 1 Call Force

  when TwoPairOnBoard and (Hand = A or Hand = K) and BetSize <= 5 Call Force
  when HaveTopTwoPair and (not FlushPossible) and (not OneCardStraightPossible) RaiseMax Force
  when HaveTopTwoPair and (not FlushPossible) RaiseMax Force
  when HaveBottomTwoPair and TwoPairOnBoard and AmountToCall < 4 and Raises = 0 Call Force
  when HaveBottomTwoPair and TwoPairOnBoard and Raises >= 1 Fold Force
  when HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 RaiseMax Force
  when HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when HaveTwoPair and Raises = 0 and NoBettingOnFlop RaiseMax Force
  when HaveTwoPair and Raises >= 1 and (not PairOnBoard) Call Force
  when HaveTwoPair and Raises = 0 and (not PairOnBoard) and (not OneCardStraightPossible) RaiseMax Force
  when HaveTwoPair and (not PairOnBoard) and (not OneCardStraightPossible) RaiseMax Force
  when HaveTwoPair and BotsLastAction = Raise Call Force

  when HaveOverPair and HaveBestKickerOrBetter and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = A) and (Board = A) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = K) and (Board = K) and not (Board = A) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = Q) and (Board = Q) and not (Board = A or Board = K) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = J) and (Board = J) and not (Board = A or Board = K or Board = Q) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = T) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and HaveBestKicker and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and Bets = 0 and Raises = 0 and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
  when HaveTopPair and Bets = 0 and Raises = 0 Raise 50% Force
  when HaveTopPair and SuitsOnBoard = 1 and not (HaveFlush or HaveStraightFlush) and (Bets >= 1 or Raises >= 1) Fold Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize <= 34% PotSize Call Force
  when HavePair and FlushPossible and BetSize <= 2 Call Force

  when HavePair and not HaveBottomPair and Raises = 0 and AmountToCall <= 1 and not (Hand = A or Hand = K or Hand = Q) and not (Board = A or Board = K or Board = Q) RaiseMin Force
  when Opponents = 1 and Raises = 1 and BetSize <= 3 Raise 50% Force

when NoBettingOnFlop
  when TotalInvested >= 110% StackSize and (Bets = 0 or Raises = 0) RaiseMax Force
  when TotalInvested >= 110% StackSize and (Bets = 1 or Raises > 0) RaiseMax Force

  when OpponentsAtTable > 3 and not (HavePair or (HaveTopPair and Have2ndBestKickerOrBetter) or (HaveOverPair
          and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT)) or (HaveTwoPair and (not PairOnBoard)) or HaveTrips or HaveSet or HaveStraight or HaveFlush or HaveFullHouse or HaveQuads or HaveStraightFlush
          or (HaveNutFlushDraw and FlushPossible and not (HaveStraight and HaveFlush))
          or ((not FlushPossible) and HaveFlushDraw and (not HaveStraight))
          or (HaveNutStraightDraw and not (HaveStraight and HaveFlush)))
          and Position = Last and Raises = 0 and Opponents = 1 and BigBlindSize >= 100
          and not (Board = A or Board = K or Board = Q) and (Hand = As or Hand = Kc or Hand = Ad or Hand = Kh or Hand = Jc or Hand = Qd) Raise Force

  when HaveSet and BotsLastAction = Raise Call Force
  when HaveSet and (not PairOnBoard) and Raises = 0 Raise Force
  when HaveSet and (not PairOnBoard) and Raises >= 1 RaiseMax Force
  when HaveSet and PairOnBoard and AmountToCall < 7 and Raises = 0 Raise Force
  when HaveSet and PairOnBoard and Raises >= 1 and BetSize <= 3 Raise Force
  when HaveSet and PairOnBoard and Raises >= 1 Call Force

  when TwoPairOnBoard and (Hand = A or Hand = K) and BetSize <= 5 Call Force
  when HaveTopTwoPair and (not FlushPossible) and (not OneCardStraightPossible) RaiseMax Force
  when HaveTopTwoPair and (not FlushPossible) RaiseMax Force
  when HaveBottomTwoPair and TwoPairOnBoard and AmountToCall < 4 and Raises = 0 Call Force
  when HaveBottomTwoPair and TwoPairOnBoard and Raises >= 1 Fold Force
  when HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 RaiseMax Force
  when HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when HaveTwoPair and Raises = 0 and NoBettingOnFlop RaiseMax Force
  when HaveTwoPair and Raises >= 1 and (not PairOnBoard) Call Force
  when HaveTwoPair and Raises >= 1 and BetSize <= 2 Call Force
  when HaveTwoPair and Raises = 0 and (not PairOnBoard) RaiseMax Force
  when HaveTwoPair and (not PairOnBoard) RaiseMax Force
  when HaveTwoPair and BotsLastAction = Raise Call Force

  when HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize > 1 and BetSize > 33% PotSize and not (Board = A or Board = K or Board = Q or Board = J or Board = T) Fold Force
  when HaveTopPair and Bets = 0 and Raises = 0 and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
  when HaveTopPair and Bets = 0 and Raises = 0 Raise 50% Force
  when HaveTopPair and SuitsOnBoard = 1 and not (HaveFlush or HaveStraightFlush) and (Bets >= 1 or Raises >= 1) Fold Force
  when HaveTopPair and (Hand = AK) and (Board = A) and not (FlushPossible or PairOnBoard) Raise 50% Force
  when HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (FlushPossible or PairOnBoard) Call Force
  when HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (FlushPossible or PairOnBoard) Call Force
  when HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (FlushPossible or PairOnBoard) Call Force
  when HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (FlushPossible or PairOnBoard) Call Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize <= 34% PotSize Call Force

  when HavePair and not (StraightPossible or FlushPossible or PairOnBoard) and Raises = 0 and BotIsLastRaiser and (Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) Raise 50% Force
  when HavePair and not (StraightPossible or FlushPossible or PairOnBoard) and Raises = 1 and BetSize <= 6 and BotIsLastRaiser and (Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) Call Force
  when HavePair and not (StraightPossible or FlushPossible or PairOnBoard) and Raises = 0 and BotIsLastRaiser and Opponents = 1 and Hand = K and Board = K Raise 50% Force
  when HavePair and not (StraightPossible or FlushPossible or PairOnBoard) and Raises = 0 and BotIsLastRaiser and Opponents = 1 and Hand = Q and Board = Q RaiseMin Force
  when HavePair and Raises = 1 and BetSize <= 6 and BotIsLastRaiser and Opponents = 1 and Hand = K and Board = K Raise 50% Force
  when HavePair and Raises = 1 and BetSize <= 6 and BotIsLastRaiser and Opponents = 1 and Hand = Q and Board = Q RaiseMin Force
  when HavePair and SuitsOnBoard = 2 and (HaveFlushDraw or HaveStraightDraw) and Bets = 0 and Raises = 0 Call Force
  when HavePair and SuitsOnBoard = 2 and (HaveFlushDraw or HaveStraightDraw) and (Bets = 1 or Raises = 1) and BetSize <= 20% StackSize Call Force
  when HavePair and SuitsOnBoard = 2 and (HaveFlushDraw or HaveStraightDraw) and (Bets = 1 or Raises = 1) and BetSize > 20% StackSize Fold Force
  when HavePair and (HaveFlushDraw or HaveInsideStraightDraw) and (Bets = 1 or Raises = 1) and BetSize <= 10% StackSize Raise 40% Force

  when (BotIsLastRaiser or NoBettingOnFlop) and HaveTwoPair and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when (HaveTopPair or HaveOverPair) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = A or Board = K or Board = Q or Board = J) and Raises <= 1 RaiseMax Force

when OpponentsAtTable > 3 and Opponents = 1 and Position = Last and Bets = 0 and (NoBettingOnFlop or BotIsLastRaiser)
  when HavePair Raise 50% Force

when Opponents = 1 and Position = Last and Bets = 1 and NoBettingOnFlop
  when (HavePair or Overcards = 2) and BetSize <= 2 and BotsLastAction = Raise and BetSize > 3 Fold Force
  when (HavePair or Overcards = 2) and BetSize <= 2 and BotsLastAction = Raise Raise Force
  when (HavePair or Overcards = 2) and BetSize <= 2 Raise Force
  when (HavePair or Overcards = 2) and BetSize > 2 and BetSize <= 4 Call Force

  when (HaveNutFlushDraw or Have2ndNutFlushDraw) and (not FlushPossible) and BetSize <= 50% PotSize Call Force
  when (HaveNutStraightDraw) and not (FlushPossible or StraightPossible) and BetSize <= 50% PotSize Call Force

  when In BigBlind and NoBettingOnFlop and Raises = 0 and AmountToCall < 2 and StackSize >= 50 and not (Board = A or Board = K or Board = Q) and Opponents = 1 RaiseMin Force
  when TotalInvested <= 15% StackSize and BetSize <= 100% PotSize and HaveNutFlushDraw Call Force
  when StackSize < 6 and HaveNutFlushDraw Call Force

  when In BigBlind and NoBettingOnFlop and Raises = 0 and BetSize <= 1 and (Board = A or Board = K or Board = Q) and Opponents = 1 and Random <= 50 Raise 50% Force
  when In BigBlind and NoBettingOnFlop and Raises = 0 and BetSize <= 1 and (Board = A or Board = K or Board = Q) and Opponents = 1 and Random > 50 RaiseMin Force
  when In BigBlind and (NoBettingOnFlop or BotIsLastRaiser) and Raises = 1 and BetSize <= 2 and (Board = A or Board = K or Board = Q) and Opponents = 1 Call Force

  when Raises = 1 and BetSize <= 2 Call Force

when Position = Last
  when HaveTopPair and Bets = 0 and Raises = 0 and not (StraightPossible or FlushPossible or PairOnBoard) Raise Force
  when HaveTopPair and Bets = 0 and Raises = 0 Raise 50% Force
  when HaveTopPair and SuitsOnBoard = 1 and not (HaveFlush or HaveStraightFlush) and (Bets >= 1 or Raises >= 1) Fold Force
  when HaveTopPair and (Bets = 1 or Raises >= 1) and BetSize <= 34% PotSize Call Force
  when HavePair and Bets = 0 and Raises = 0 and (not PairOnBoard) Raise 25% Force
  when HavePair and Bets = 0 and Raises = 0 RaiseMin Force
  when Raises = 0 and Bets = 0 and Opponents <= 2 and StackSize >= 30 and (Hand = Ah or Hand = Ac or Hand = Kd or Hand = Kh or Hand = Qs) RaiseMin Force
  when Overcards = 2 and not (PairOnBoard or FlushPossible or StraightPossible) and Bets = 1 and Raises = 0 and BetSize <= 2 Call Force
  when Raises = 1 and BetSize <= 2 Call Force

when Opponents = 1
  when (Overcards = 2 or HaveInsideStraightDraw) and BetSize = 1 Call Force
  when Hand = A and HaveInsideStraightDraw and not (PairOnBoard or FlushPossible) and BetSize = 1 Call Force

// Phil...lets see if this works
when Have2ndTopPair and SuitsOnBoard >= 3 and not (OneCardFlushPossible or OneCardStraightPossible or PairOnBoard)
  when Opponents = 1 and NoBettingOnFlop and Bets = 0 and Raises = 0 Bet 30% Force
  when Others Fold Force

river

// phil fixes

// Phil another try
when HaveTopPair and PairOnBoard and Have3rdBestKickerOrBetter and not (HaveTrips or HaveStraight or HaveFullHouse or HaveSet or HaveFlush or StraightPossible or FlushPossible) and Opponents = 1 and raises = 0 and AmountToCall < 26% PotSize Call Force

// Phil...well..for few bb..might as well
when TwoPairOnBoard and HaveUnderPair and (HaveStraight or HaveFlush) and Opponents = 1 and AmountToCall <= 2 Call Force
when TwoPairOnBoard and HaveUnderPair Fold Force

// Phil...stop folding for no reason
when Opponents = 1 and AmountToCall = 1 and (HavePair or hand = A) and not (TwoPairOnBoard or OneCardStraightPossible or OneCardFlushPossible or HaveTopPair or HaveStraight or HaveFlush) Call Force

//Phil... same as turn
when TwoPairOnBoard and not (havepair or Hand = A or havestraight or haveflush) and AmountToCall > 1 Fold Force

when Position = Last and HaveNothing and not (Hand = A or Hand = K or Hand = Q) and (Bets = 1 or Raises >= 1) Fold Force
when TotalInvested >= 130% StackSize and (Bets = 1 or Raises > 0) RaiseMax Force

when OpponentsAtTable = 1 and OpponentIsAllIn and AmountToCall <= 20% StackSize Call Force
when OpponentsAtTable = 1 and OpponentIsAllIn and AmountToCall <= 49% PotSize Call Force

when Position = First and OpponentsAtTable = 1 and HaveNuts and Random <= 15 and (not BotIsLastRaiser) and Bets = 0 and Raises = 0 Call Force
when OpponentsAtTable = 1 and HaveNuts RaisePot Force
when OpponentsAtTable = 1 and TotalInvested >= 125% StackSize and (Bets = 0 or Raises = 0) RaiseMax Force
when OpponentsAtTable = 1 and TotalInvested >= 130% StackSize and (Bets = 1 or Raises > 0) RaiseMax Force
when OpponentsAtTable = 1 and BotsLastAction = Raise and Raises >= 1 and TotalInvested >= 101% StackSize and StackSize <= 20 RaiseMax Force
when OpponentsAtTable = 1 and BotsLastAction = Raise and Raises >= 1 and TotalInvested >= 111% StackSize RaiseMax Force
when OpponentsAtTable = 1 and BotsLastAction = Call and Raises >= 1 and TotalInvested >= 110% StackSize and StackSize <= 20 Call Force
when OpponentsAtTable = 1 and BotsLastAction = Call and Raises >= 1 and TotalInvested >= 120% StackSize Call Force
when OpponentsAtTable = 1 and QuadsOnBoard and Hand = A RaiseMax Force
when OpponentsAtTable = 1 and FullHouseOnBoard RaiseMax Force
when OpponentsAtTable = 1 and OpponentIsAllIn and Raises = 1 and Opponents = 1 and BetSize <= 15% StackSize and (HaveTwoPair or HaveFlush or HaveStraight or HaveFullHouse or HaveSet or HaveTrips) Call Force
when OpponentsAtTable = 1 and OpponentIsAllIn and Raises = 1 and Opponents = 1 and BetSize <= 10% StackSize and HaveTopPair Call Force
when OpponentsAtTable = 1 and (BotsLastAction = Raise or BotsLastAction = Call) and Raises >= 1 and TotalInvested >= 125% StackSize Call Force

// certain cicumstance
when Board = AA and HavePair and Hand = K and not (Hand = KK or TripsOnBoard or FlushPossible or StraightPossible) and Raises = 0
  when NoBettingOnTurn and Bets = 0 and Opponents = 1 Raise 2 Force
  when AmountToCall <= 5 Call Force

//
when HaveSet and OneCardStraightPossible and not (HaveFlush or HaveStraight or HaveQuads or HaveFullHouse)
  when Bets = 0 Call Force
  when AmountToCall <= 3 Call Force
  when Others Fold Force

when OpponentsAtTable = 1 and Position = First
  when OpponentsAtTable = 1 and TotalInvested >= 125% StackSize and (Bets = 0 or Raises = 0) RaiseMax Force
  when OpponentsAtTable = 1 and TotalInvested >= 135% StackSize and (Bets = 1 or Raises > 0) RaiseMax Force
  when OpponentsAtTable = 1 and BotsLastAction = Raise and Raises = 1 and (HaveTopPair or HaveTwoPair) Call Force
  when OpponentsAtTable = 1 and (HaveNutFlush or HaveNutStraight or HaveStraightFlush or HaveFullHouse) and Bets = 0 and Raises = 1 RaisePot Force
  when OpponentsAtTable = 1 and (HaveNutFlush or HaveNutStraight or HaveStraightFlush or HaveFullHouse) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when OpponentsAtTable = 1 and (HaveStraight or HaveFlush) and (not OneCardStraightPossible) and (not OneCardFlushPossible) and (not TwoPairOnBoard) RaisePot Force
  when OpponentsAtTable = 1 and HaveNutFlush and OneCardFlushPossible RaiseMax Force
  when OpponentsAtTable = 1 and HaveNutStraight and OneCardStraightPossible RaiseMax Force
  when OpponentsAtTable = 1 and HaveStraight and OneCardStraightPossible and not (HaveNutStraight or Have2ndNutStraight) and BetSize <= 8 Call Force
  when OpponentsAtTable = 1 and HaveFlush and OneCardFlushPossible and not (HaveNutFlush or Have2ndNutFlush) and BetSize <= 8 Call Force
  when OpponentsAtTable = 1 and HaveTrips and (not FlushPossible) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 RaiseMax Force
  when OpponentsAtTable = 1 and HaveTrips and (not FlushPossible) and (not OneCardStraightPossible) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when OpponentsAtTable = 1 and HaveSet and (not FlushPossible) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 RaiseMax Force
  when OpponentsAtTable = 1 and HaveSet and (not FlushPossible) and (not OneCardStraightPossible) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when OpponentsAtTable = 1 and HaveSet and FlushPossible and (not OneCardFlushPossible) Call Force
  when OpponentsAtTable = 1 and HaveSet Raise 50% Force
  when OpponentsAtTable = 1 and HaveTopTwoPair and (not FlushPossible) and (not OneCardStraightPossible) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopTwoPair and (not FlushPossible) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 RaiseMax Force
  when OpponentsAtTable = 1 and HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTwoPair and Raises = 0 and NoBettingOnTurn RaiseMax Force
  when OpponentsAtTable = 1 and HaveTwoPair and Raises >= 1 and (not PairOnBoard) Call Force
  when OpponentsAtTable = 1 and HaveTwoPair and Raises = 0 and (not PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and (not PairOnBoard) and Bets = 0 and Raises = 0 RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and (not PairOnBoard) and (Bets = 1 or Raises = 1) Call Force
  when OpponentsAtTable = 1 and HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and (not PairOnBoard) and Raises >= 2 Call Force
  when OpponentsAtTable = 1 and HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and BotIsLastRaiser RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 and (not RaisesOnTurn) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and BetSize <= 30% StackSize Call Force
  when OpponentsAtTable = 1 and HaveTopPair and Bets = 0 and Raises = 0 RaiseMin Force
  when OpponentsAtTable = 1 and HaveOverPair and (not FlushPossible) and (not OneCardStraightPossible) and (not PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveOverPair and Bets = 0 and Raises = 0 Raise 2 Force
  when OpponentsAtTable = 1 and HaveBestKickerOrBetter and (not FlushPossible) and (not OneCardStraightPossible) and Raises <= 1 and BetSize <= 2 Call Force
  when OpponentsAtTable = 1 and NoBettingOnFlop and NoBettingOnTurn and (HavePair or Overcards = 2) Raise 2 Force
  when OpponentsAtTable = 1 and NoBettingOnFlop and NoBettingOnTurn and (Hand = A or (Hand = K and (not Board = A))) Raise 2 Force

when OpponentsAtTable = 1 and Position = Last
  when OpponentsAtTable = 1 and BotsLastAction = Raise and Raises = 1 and (HaveTopPair or HaveTwoPair) Call Force
  when OpponentsAtTable = 1 and (HaveNutFlush or HaveNutStraight or HaveStraightFlush or HaveFullHouse) and Bets = 0 and Raises = 1 RaiseMax Force
  when OpponentsAtTable = 1 and (HaveNutFlush or HaveNutStraight or HaveStraightFlush or HaveFullHouse) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when OpponentsAtTable = 1 and (HaveStraight or HaveFlush) and (not OneCardStraightPossible) and (not OneCardFlushPossible) and (not TwoPairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveNutFlush and OneCardFlushPossible RaiseMax Force
  when OpponentsAtTable = 1 and HaveNutStraight and OneCardStraightPossible RaiseMax Force
  when OpponentsAtTable = 1 and HaveStraight and OneCardStraightPossible and not (HaveNutStraight or Have2ndNutStraight) and BetSize <= 5 Call Force
  when OpponentsAtTable = 1 and HaveFlush and OneCardFlushPossible and not (HaveNutFlush or Have2ndNutFlush) and BetSize <= 5 Call Force
  when OpponentsAtTable = 1 and HaveTrips and (not FlushPossible) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 RaisePot Force
  when OpponentsAtTable = 1 and HaveTrips and (not FlushPossible) and (not OneCardStraightPossible) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when OpponentsAtTable = 1 and HaveSet and (not FlushPossible) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 RaisePot Force
  when OpponentsAtTable = 1 and HaveSet and (not FlushPossible) and (not OneCardStraightPossible) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when OpponentsAtTable = 1 and HaveSet and FlushPossible and (not OneCardFlushPossible) and BetSize <= 7 Call Force
  when OpponentsAtTable = 1 and HaveSet Raise 50% Force
  when OpponentsAtTable = 1 and HaveTopTwoPair and (not FlushPossible) and (not OneCardStraightPossible) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopTwoPair and (not FlushPossible) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and Bets = 0 and Raises = 0 RaiseMax Force
  when OpponentsAtTable = 1 and HaveTwoPair and (not FlushPossible) and (not PairOnBoard) and (not OneCardStraightPossible) and (Bets = 1 or Raises >= 1) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTwoPair and Raises = 0 and NoBettingOnTurn RaiseMax Force
  when OpponentsAtTable = 1 and HaveTwoPair and Raises >= 1 and (not PairOnBoard) Call Force
  when OpponentsAtTable = 1 and HaveTwoPair and Raises = 0 and (not PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and (not PairOnBoard) and Bets = 0 and Raises = 0 RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and (not PairOnBoard) and (Bets = 1 or Raises = 1) RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and (not PairOnBoard) and Raises >= 2 Call Force
  when OpponentsAtTable = 1 and HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and BotIsLastRaiser RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and not (HaveBestKicker or Have2ndBestKicker) and (not FlushPossible) and (not OneCardStraightPossible) and BetSize <= 30% StackSize RaiseMax Force
  when OpponentsAtTable = 1 and HaveTopPair and Bets = 0 and Raises = 0 RaiseMin Force
  when OpponentsAtTable = 1 and HaveOverPair and (not FlushPossible) and (not OneCardStraightPossible) and (not PairOnBoard) RaisePot Force
  when OpponentsAtTable = 1 and HaveOverPair and Bets = 0 and Raises = 0 RaiseMin Force
  when OpponentsAtTable = 1 and HavePair and Raises = 0 and not (Hand = A or Hand = K or Hand = Q) and not (Board = A or Board = K or Board = Q) RaiseMin Force
  when OpponentsAtTable = 1 and HavePair and not (StraightPossible or FlushPossible or PairOnBoard) and Raises = 0 and BotIsLastRaiser and (Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) Raise 50% Force
  when OpponentsAtTable = 1 and HavePair and not (StraightPossible or FlushPossible or PairOnBoard) and Raises = 1 and BetSize <= 6 and BotIsLastRaiser and (Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) Call Force
  when OpponentsAtTable = 1 and HavePair and not (StraightPossible or FlushPossible or PairOnBoard) and Raises = 0 and BotIsLastRaiser and Opponents = 1 and Hand = K and Board = K RaisePot Force
  when OpponentsAtTable = 1 and HavePair and not (StraightPossible or FlushPossible or PairOnBoard) and Raises = 0 and BotIsLastRaiser and Opponents = 1 and Hand = Q and Board = Q RaiseMin Force
  when OpponentsAtTable = 1 and HaveBestKickerOrBetter and (not FlushPossible) and (not OneCardStraightPossible) and Raises <= 1 and BetSize <= 2 Call Force
  when OpponentsAtTable = 1 and Position = Last and NoBettingOnFlop and NoBettingOnTurn and Bets = 0 and Raises = 0 RaisePot Force
  when OpponentsAtTable = 1 and HaveBestKickerOrBetter and Calls = 0 and BetSize <= 1 Call Force

when OpponentsAtTable = 2 and Opponents = 1
  when HaveBestKickerOrBetter and Calls = 0 and BetSize <= 1 Call Force
  when Position = First and NoBettingOnFlop and NoBettingOnTurn and (HavePair or Overcards = 2) Raise 2 Force
  when Position = First and NoBettingOnFlop and NoBettingOnTurn and (Hand = A or (Hand = K and (not Board = A))) Raise 2 Force
  when Position = Last and (NoBettingOnTurn or BotRaisedOnTurn) and (HavePair or (Hand = A or (Hand = K and (not Board = A)))) and AmountToCall <= 25% StackSize Call Force

when OpponentsAtTable = 2
  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveStraight or HaveFlush or HaveSet or HaveTrips or HaveTwoPair) RaiseMax Force
  when HaveNuts RaiseMax Force
  when (Hand = AA) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when (Hand = KK) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop) RaiseMax Force
  when (Hand = QQ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = A) RaiseMax Force
  when (Hand = JJ) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q) RaiseMax Force
  when (Hand = TT) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J) RaiseMax Force
  when (Hand = 99) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T) RaiseMax Force
  when (Hand = 88) and not (StraightPossible or FlushPossible or PairOnBoard or AcePresentOnFlop or Board = K or Board = Q or Board = J or Board = T or Board = 9) RaiseMax Force
  when HaveTopPair and (Hand = AK) and (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AQ or Hand = KQ) and (Board = Q) and not (Board = A or Board = K) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AJ or Hand = KJ) and (Board = J) and not (Board = A or Board = K or Board = Q) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force
  when HaveTopPair and (Hand = AT or Hand = KT) and (Board = T) and not (Board = A or Board = K or Board = Q or Board = J) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force

when OpponentsAtTable >= 1
  when not (HavePair or HaveTwoPair or HaveSet or HaveTrips or HaveFullHouse or HaveQuads or HaveStraight or HaveFlush) Fold Force
  when Opponents = 1 and OpponentIsAllIn and (Bets = 1 or Raises = 1) and BetSize < 14% StackSize and not (OneCardFlushPossible or OneCardStraightPossible) and (HaveTopPair or HaveOverPair or Have2ndOverPair or Have2ndTopPair or HaveSet or HaveTrips or HaveTwoPair or HaveStraight or HaveFlush) Call Force
  when Opponents = 1 and OpponentIsAllIn and (Bets = 1 or Raises = 1) and BetSize < 9% StackSize and (HaveTopPair or HaveOverPair or Have2ndOverPair or Have2ndTopPair or HaveSet or HaveTrips or HaveTwoPair or HaveStraight or HaveFlush) Call Force
  when StackSize < 7 and Bets = 1 and not (OneCardFlushPossible or OneCardStraightPossible) and (HaveTopPair or HaveOverPair or Have2ndOverPair or HaveTrips or HaveSet or HaveTwoPair or HaveStraight or HaveFlush) RaiseMax Force
  when StackSize < 11 and RaisesBeforeFlop and Bets = 1 and (HaveTopPair or HaveOverPair or HaveTwoPair or HaveTrips or HaveStraight or HaveFlush) and not (NoBettingOnFlop or OneCardStraightPossible or OneCardFlushPossible or PairOnBoard) RaiseMax Force
  when StackSize < 11 and RaisesBeforeFlop and Bets = 1 and not (NoBettingOnFlop or PairOnBoard) and OneCardFlushPossible and HaveFlush RaiseMax Force
  when StackSize < 11 and RaisesBeforeFlop and not (NoBettingOnFlop or OneCardFlushPossible or PairOnBoard) and OneCardStraightPossible and (HaveStraight or HaveSet) RaiseMax Force
  when StackSize > 75 and BetSize > 17% StackSize and PairOnBoard and not (HaveFullHouse or HaveTrips or HaveFlush or HaveStraight or Hand = AA) Fold Force
  when StackSize > 75 and BetSize > 17% StackSize and (not PairOnBoard) and FlushPossible and not (HaveFlush or HaveSet or HaveStraight) Fold Force
  when StackSize > 75 and BetSize > 23% StackSize and (not PairOnBoard) and (not FlushPossible) and StraightPossible and not (HaveStraight or HaveSet or HaveTwoPair or Hand = AA) Fold Force
  when StackSize > 75 and BetSize > 23% StackSize and (not PairOnBoard) and (not FlushPossible) and (not StraightPossible) and not (HaveSet or HaveTwoPair or Hand = AA or Hand = KK) Fold Force
  when BetSize > 40% StackSize and PairOnBoard and not (TripsOnBoard or OneCardFlushPossible or OneCardStraightPossible) and (HaveFullHouse or HaveFlush or HaveStraight) RaiseMax Force
  when BetSize > 40% StackSize and PairOnBoard and not (Board = KK or Board = QQ or Board = JJ or Board = TT or Board = 99 or Board = 88 or OneCardFlushPossible or OneCardStraightPossible) and (HaveTrips or HaveFullHouse or HaveFlush or HaveStraight or Hand = AA) RaiseMax Force
  when BetSize > 40% StackSize and not (PairOnBoard or OneCardFlushPossible or OneCardStraightPossible) and FlushPossible and (HaveNutFlush or Have2ndNutFlush or Have3rdNutFlush) RaiseMax Force
  when BetSize > 40% StackSize and not (StraightPossible or FlushPossible or PairOnBoard) and HaveSet RaiseMax Force
  when BetSize > 40% StackSize and not (StraightPossible or FlushPossible or PairOnBoard) and HaveTwoPair and HaveTopPair RaiseMax Force
  when BetSize > 40% StackSize and Raises = 0 and Calls = 0 and not (StraightPossible or FlushPossible or PairOnBoard) and HaveOverPair and Hand = AA RaiseMax Force
  when TripsOnBoard and (not TotalInvested > 100% StackSize) and not (HaveStraightFlush or HaveQuads or NutFullHouseOrFourOfAKind = 1 or NutFullHouseOrFourOfAKind = 2 or NutFullHouseOrFourOfAKind = 3 or NutFullHouseOrFourOfAKind = 4 or NutFullHouseOrFourOfAKind = 5 or NutFullHouseOrFourOfAKind = 6) Fold Force
  when Opponents = 1 and OpponentIsAllIn and AmountToCall < 40% StackSize and (HaveTopPair and Have2ndBestKickerOrBetter) and not (OneCardStraightPossible or OneCardFlushPossible or Board = KK or Board = QQ or Board = JJ or Board = TT) Call Force
  when TotalInvested > 115% StackSize and PairOnBoard and (Bets = 1 or Raises >= 1) and not (NutFullHouseOrFourOfAKind = 2 or NutFullHouseOrFourOfAKind = 1 or NutFullHouseOrFourOfAKind = 3 or NutFullHouseOrFourOfAKind = 4 or HaveQuads or HaveStraightFlush) and (HaveOverPair or Have2ndOverPair or Have3rdOverPair or HaveTopPair or Have2ndTopPair or Have3rdTopPair or HaveTrips or HaveStraight or HaveFlush) Call Force
  when TotalInvested > 115% StackSize and FlushPossible and (Bets = 1 or Raises >= 1) and not (HaveFlush or NutFullHouseOrFourOfAKind = 2 or NutFullHouseOrFourOfAKind = 1 or NutFullHouseOrFourOfAKind = 3 or NutFullHouseOrFourOfAKind = 4 or HaveQuads or HaveStraightFlush) and (HavePair or HaveStraight or HaveFlush) Call Force
  when TotalInvested > 115% StackSize and StraightPossible and (Bets = 1 or Raises >= 1) and not (HaveStraight or NutFullHouseOrFourOfAKind = 2 or NutFullHouseOrFourOfAKind = 1 or NutFullHouseOrFourOfAKind = 3 or NutFullHouseOrFourOfAKind = 4 or HaveQuads or HaveStraightFlush) and (HavePair or HaveStraight) Call Force
  when TotalInvested > 115% StackSize and (Bets = 1 or Raises >= 1) and not (HaveSet or HaveTopTwoPair or NutFullHouseOrFourOfAKind = 2 or NutFullHouseOrFourOfAKind = 1 or NutFullHouseOrFourOfAKind = 3 or NutFullHouseOrFourOfAKind = 4 or HaveQuads or HaveStraightFlush) and HavePair Call Force
  when TotalInvested > 300% StackSize and (Bets = 1 or Raises >= 1) and not (HaveSet or HaveTopTwoPair or NutFullHouseOrFourOfAKind = 2 or NutFullHouseOrFourOfAKind = 1 or NutFullHouseOrFourOfAKind = 3 or NutFullHouseOrFourOfAKind = 4 or HaveQuads or HaveStraightFlush) and HaveBestKicker Call Force
  when HaveNuts and Bets = 0 and Raises = 0 Bet 60% Force
  when HaveNuts and (Bets = 1 or Raises >= 1) and BetSize > 25% StackSize RaiseMax Force
  when HaveNuts Raise 75% Force
  when NoBettingOnFlop and NoBettingOnTurn and not (HaveTopPair or Have2ndTopPair or Have2ndOverPair or HaveOverPair or HaveTwoPair or HaveSet or HaveTrips or HaveFullHouse or HaveQuads or HaveStraight or HaveFlush) and Bets = 1 and BetSize > 4 Fold Force
  when OneCardStraightPossible and not (HaveNutStraight or Have2ndNutStraight or HaveFlush or HaveFullHouse or HaveQuads or TotalInvested > 100% StackSize) and (Bets = 1 or Raises >= 1) and (BetSize > 41% PotSize or BetSize > 28% StackSize) Fold Force
  when Opponents = 1 and Raises = 1 and (AmountToCall <= 2 or AmountToCall < 20% PotSize) and AmountToCall < 10% StackSize and StackSize > 15 and not (HaveTopPair or HaveTwoPair or HaveTrips or HaveSet or HaveFullHouse or HaveStraight or HaveFlush) and (HavePair or HaveBestKicker) Call Force
  when (HaveUnderPair or HaveBottomPair or Have5thOverPair or Have4thTopPair or Have4thOverPair) and (Bets = 1 or Raises >= 1) and BetSize > 41% PotSize and not (HaveSet or HaveTrips or HaveTwoPair or HaveFullHouse or HaveQuads or HaveFlush or HaveStraight) Fold Force
  when NoBettingOnFlop and NoBettingOnTurn and not (HaveTopPair or HaveOverPair or HaveTwoPair or HaveSet or HaveTrips or HaveFullHouse or HaveQuads or HaveStraight or HaveFlush) Fold Force
  when PairOnBoard and HavePair and not (HaveTopPair or HaveTrips or HaveFullHouse or HaveFlush or HaveStraight) and Bets = 0 and Raises = 0 Call Force
  when not (HavePair or HaveTwoPair or HaveSet or HaveTrips or HaveFullHouse or HaveQuads or HaveStraight or HaveFlush) and (Bets = 1 or Raises >= 1) and BetSize > 25% PotSize Fold Force
  when OneCardFlushPossible and (BetSize > 20% StackSize or BetSize > 10) and not (HaveFlush or HaveFullHouse or HaveQuads) Fold Force
  when OneCardFlushPossible and (not PairOnBoard) and (Bets = 1 or Raises >= 1) and BetSize > 55% StackSize and not (HaveNutFlush or TotalInvested > 110% StackSize) Fold Force
  when QuadsOnBoard and HaveBestKicker Raise 75% Force
  when TripsOnBoard and (not QuadsOnBoard) and Opponents = 1 and HaveFullHouse and Bets = 1 and BetSize < 26% PotSize Call Force
  when TripsOnBoard and (not QuadsOnBoard) and HaveFullHouse and not (NutFullHouseOrFourOfAKind = 1 or NutFullHouseOrFourOfAKind = 2 or NutFullHouseOrFourOfAKind = 3 or HaveQuads or HaveStraightFlush) and Bets = 0 and Raises = 0 Call Force
  when PairOnBoard and not (HaveTopPair or HaveOverPair or HaveTrips or HaveFullHouse or HaveQuads or HaveStraight or HaveFlush or Bets = 0 or Raises = 0) Fold Force
  when Opponents >= 2 and PairOnBoard and FlushPossible and StraightPossible and BetSize > 5 and not (HaveOverPair or HaveTrips or HaveFullHouse or HaveQuads or HaveFlush or HaveStraight) Fold Force
  when TripsOnBoard and not (NutFullHouseOrFourOfAKind = 1 or NutFullHouseOrFourOfAKind = 2 or HaveQuads or HaveStraightFlush or QuadsOnBoard) and BetSize > 6 Fold Force
  when TwoPairOnBoard and Board = AA and HaveFullHouse and (not Hand = A) and Bets = 0 and Raises = 0 Call Force
  when TwoPairOnBoard and Board = AA and HaveFullHouse and (not Hand = A) and BetSize > 38% PotSize Fold Force
  when TwoPairOnBoard and not (NutFullHouseOrFourOfAKind = 1 or NutFullHouseOrFourOfAKind = 2 or NutFullHouseOrFourOfAKind = 3 or HaveQuads or HaveStraightFlush) and BetSize > 6 Fold Force
  when QuadsOnBoard and not HaveBestKicker Fold Force
  when QuadsOnBoard and HaveBestKicker Raise 50% Force
  when PairOnBoard and not (FlushPossible or StraightPossible or Board = A or Board = K or Board = Q) and HaveTrips and Raises = 1 and BetSize > 15 Call Force
  when PairOnBoard and not (FlushPossible or StraightPossible) and (Board = A or Board = K or Board = Q) and HaveTrips and HaveBestKicker and Raises = 1 Call Force
  when Opponents = 1 and Bets = 1 and Raises = 0 and HavePair and not (HaveSet or HaveQuads or HaveTrips or HaveFullHouse or HaveTwoPair or HaveStraight or HaveFlush or HaveTopPair or HaveOverPair or PairOnBoard or OneCardFlushPossible or OneCardStraightPossible) and BetSize < 38% PotSize and BetSize < 18% StackSize Call Force

when Opponents = 1 and FlushPossible and not (PairOnBoard or OneCardFlushPossible or OneCardStraightPossible)
  when HaveTopPair and not (HaveBestKicker or HaveNuts or HaveSet or HaveTwoPair or HaveFlush or HaveStraight) and Bets = 0 and Raises = 0 Call Force
  when HaveTopPair and not (HaveBestKicker or HaveNuts or HaveSet or HaveTwoPair or HaveFlush or HaveStraight) and Bets = 1 and BetSize < 50% PotSize and BetSize < 15 Call Force

when Opponents = 1 and PairOnBoard and StraightPossible and not (FlushPossible or OneCardStraightPossible)
  when HaveNutStraight and Bets = 1 Raise 75% Force

when PairOnBoard and not (CalledOnTurn or RaisesOnFlop or StraightPossible) and not (FlushPossible or OneCardStraightPossible or Board = AA or Board = KK or Board = QQ or Board = JJ or Board = TT or Board = 99 or Board = 88) and Opponents <= 2
  when Hand = AA and Bets = 0 and Raises = 0 Bet 75% Force
  when Hand = AA and Bets = 1 and Raises = 0 Raise 75% Force
  when Hand = AA and Raises >= 1 Call Force
  when (Hand = KK or Hand = QQ or Hand = JJ or Hand = TT) and Bets = 0 and Raises = 0 Bet 75% Force
  when Hand = KK and Bets = 1 and Raises = 0 and BetSize < 40 Call Force

when (not NoBettingOnFlop) and (not NoBettingOnTurn) and (FlushPossible or MoreThanOneStraightPossibleOnFlop or MoreThanOneStraightPossibleOnTurn) and Opponents = 1 and Position = First and (HaveOverPair or HaveTopPair or Have2ndOverPair) and not (PairOnBoard or HaveSet or HaveTwoPair or HaveStraight or HaveFlush)
  when Bets = 0 and Raises = 0 Call Force
  when BetSize >= 40% PotSize Fold Force
  when Bets = 1 and BetSize < 40% PotSize Call Force

when PairOnBoard and not (HaveQuads or HaveFullHouse or HaveFlush or HaveStraight or HaveTrips)
  when HavePair and not (HaveOverPair or Have2ndOverPair or HaveTopPair or Have2ndTopPair) and BetSize > 8 Fold Force

when Opponents = 1 and OpponentIsAllIn and (HaveTopPair or HaveOverPair or Have2ndOverPair or HaveTwoPair or HaveTrips or HaveSet or HaveFullHouse or HaveStraight or HaveFlush)
  when BetSize < 50% PotSize Call Force
  when Raises = 1 and BetSize < 67% PotSize Call Force

when HaveSet and (Bets = 1 or Raises = 1) and not (HaveFullHouse or HaveQuads)
  when not (StraightPossible or FlushPossible) Raise 75% Force
  when BotsLastAction = Raise and not (OneCardStraightPossible or OneCardFlushPossible) and (BetSize < 50% StackSize or BetSize < 61% PotSize) Call Force
  when not (FlushPossible or OneCardStraightPossible) and OnlyOneStraightPossible Raise 75% Force
  when BetSize > 10 and not (OneCardStraightPossible or OneCardFlushPossible) Call Force

when HaveTrips and not (HaveFullHouse or HaveQuads or OneCardFlushPossible or OneCardStraightPossible)
  when Bets = 1 and Raises = 0 and BetSize < 43% PotSize Call Force
  when Opponents = 1 and Raises = 1 and BetSize < 43% PotSize Call Force
  when Bets = 1 and Raises = 0 and PotSize > 10 and AmountToCall < 7 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 15 and AmountToCall < 10 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 20 and AmountToCall < 15 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 25 and AmountToCall < 17 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 30 and AmountToCall < 22 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 35 and AmountToCall < 26 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 40 and AmountToCall < 30 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 45 and AmountToCall < 33 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 50 and AmountToCall < 37 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 60 and AmountToCall < 45 Call Force
  when Bets = 1 and Raises = 0 and PotSize > 75 and AmountToCall < 56 Call Force
  when Bets = 0 and Raises = 0 and Opponents = 1 and (not RaisesOnTurn) Bet 60% Force

when Opponents = 1 and Bets = 0 and Raises = 0 and HaveTopPair and (HaveBestKicker or Have2ndBestKicker) and not (PairOnBoard or FlushPossible or RaisesOnTurn or OneCardStraightPossible)
  when (not StraightPossible) Bet 60% Force
  when OnlyOneStraightPossible Bet 50% Force
  when Random <= 25 Bet 40% Force

when Opponents = 1 and Bets = 0 and Raises = 0 and HaveOverPair and not (PairOnBoard or FlushPossible or RaisesOnTurn or OneCardStraightPossible)
  when (not StraightPossible) Bet 60% Force
  when OnlyOneStraightPossible Bet 50% Force
  when Random <= 25 Bet 40% Force

when Opponents = 1 and Bets = 1 and PairOnBoard and HaveFlush and not (PairOnTurn or Board = AA or Board = KK or Board = QQ or Board = JJ or Board = TT or Board = 99 or Board = 88)
  when StraightFlushPossible and Have2ndNutFlush and Raises = 0 Raise 75% Force
  when HaveNutFlush and Raises = 0 Raise 75% Force
  when BotsLastAction = Raise and Raises = 1 and BetSize < 50% StackSize and Random <= 75 Call Force

when HaveStraight and PairOnBoard and (not FlushPossible)
  when Bets = 0 and Raises = 0 and not (Board = AA or Board = KK or Board = QQ or Board = JJ or Board = TT or RaisesOnTurn) and (Opponents <= 2 or Checks >= 1) Bet 75% Force
  when Bets = 1 and Raises = 0 and not (Board = AA or Board = KK or Board = QQ or Board = JJ or Board = TT or RaisesOnTurn) and BetSize < 57% PotSize Call Force
  when Bets = 1 and Raises = 0 and BetSize < 51% PotSize and Opponents <= 2 Call Force
  when Raises = 1 and (BotsLastAction = Bet or BetSize < 43% PotSize) Call Force
  when Raises = 2 and BetSize < 34% PotSize Call Force

when PairOnBoard and HaveTrips and not (FlushPossible or HaveStraight or HaveFullHouse or StackSize < 55 or TotalInvested > 85% StackSize or Hand = AK)
  when Raises >= 1 and StraightPossible and AmountToCall > 52% PotSize and AmountToCall > 15 Fold Force
  when Raises >= 1 and AmountToCall > 70% PotSize and AmountToCall > 15 Fold Force
  when Opponents = 1 and NoBettingOnTurn and Raises = 0 and Bets = 0 and (Hand = A or Hand = K or HavePair) RaiseMin Force
  when Opponents <= 3 and BetSize <= 1 and (Hand = A or Hand = K or HavePair) Call Force
  when Opponents <= 2 and BetSize <= 2 and (Hand = A or Hand = K or HavePair) Call Force
  when Opponents = 1 and BetSize <= 3 and (Hand = A or Hand = K or HavePair) Call Force
  when Opponents = 1 and BetSize <= 1 Call Force
  when Opponents = 1 and BetSize <= 1 and (Hand = A or Hand = K or Hand = Q or HavePair) Call Force

when (HaveTrips or HaveFullHouse or HaveQuads or HaveSet) and not (PairOnTurn) and not (FlushPossible) and not (StraightPossible) and NoBettingOnTurn and Bets = 0 and Raises = 0
  when TotalInvested >= 75% StackSize RaiseMax Force
  when TotalInvested >= 50% StackSize Raise 50% Force
  when TotalInvested >= 30% StackSize Raise 40% Force
  when TotalInvested < 30% StackSize Raise 30% Force

when HaveFlush and SuitsOnBoard >= 3 and NoBettingOnTurn and Bets = 0 and Raises = 0
  when TotalInvested >= 75% StackSize RaiseMax Force
  when TotalInvested >= 50% StackSize Raise 50% Force
  when TotalInvested >= 30% StackSize Raise 40% Force
  when TotalInvested < 30% StackSize Raise 30% Force

when HaveTwoPair
  when OneCardFlushPossible and not OneCardStraightPossible and not PairOnBoard and Bets = 0 and Raises = 0 RaiseMin Force
  when (not OneCardFlushPossible) and (not OneCardStraightPossible) and (not PairOnBoard) and (Bets = 1 or Raises >= 1) Call Force
  when (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and Bets = 0 and Raises = 0 RaiseMin Force
  when (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and (Bets = 1 or Raises = 1) Call Force
  when (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and not PairOnBoard and Raises >= 2 Fold Force
  when not (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and bets = 0 and raises =0 Raisemin Force
  when not (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and BetSize <= 20% StackSize Call Force
  when not (HaveBestKicker or Have2ndBestKicker) and not FlushPossible and not OneCardStraightPossible and BetSize >= 30% StackSize Fold Force

when HaveOverPair
  when not (OneCardFlushPossible) and not (OneCardStraightPossible) and not (PairOnBoard) RaiseMin Force
  when not (OneCardFlushPossible) and not (OneCardStraightPossible) and (BetSize <= 40% StackSize or TotalInvested >= 100% StackSize) Call Force

when HaveTopPair and not (onecardflushpossible or onecardstraightpossible)
  when Position = Last and Bets = 0 and Raises = 0 and (not HadTopPairOnFlop) Raise 2 Force
  when Position = First and Bets = 0 and Raises = 0 and (not HadTopPairOnFlop) and NoBettingOnTurn Raise 2 Force
  when Opponents = 1 and Bets = 0 and Raises = 0 and (not HadTopPairOnFlop) Raise Force

when NoBettingOnFlop and NoBettingOnTurn and not (onecardflushpossible or onecardstraightpossible)
  when HaveNothing and Bets = 0 and Raises = 0 and Random <= 60 RaiseMin Force
  when Overcards = 2 and Bets = 1 and Raises = 0 and BetSize <= 2 Call Force
  when Bets = 0 and Raises = 0 and HaveTopPair and HaveBestKicker Raise 50% Force
  when Bets = 0 and Raises = 0 and HaveTopPair RaiseMin Force

when NoBettingOnTurn and not (onecardflushpossible or onecardstraightpossible)
  when Position = First and HaveNothing and Bets = 0 and Raises = 0 and Random <= 40 RaiseMin Force
  when Overcards = 2 and Bets = 1 and Raises = 0 and BetSize <= 1 Call Force
  when Bets = 0 and Raises = 0 and HaveTopPair and HaveBestKicker Raise 50% Force
  when Bets = 0 and Raises = 0 and HaveTopPair RaiseMin Force





Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 20, 2022, 05:47:35 AM
If you copied the code before this timestamp, please recopy and update the profile.

I had to make a change.


Title: Re: Sam SNG Restoration Profile
Post by: tclckc on February 20, 2022, 09:32:23 PM
Thanks for posting.  Been a while since I've been part of a community project. 

I played it & took 1st place.  Only had time for 1 tournament so far.  I know the results of 1 tourney don't really matter but it seems like a very solid place to start.  He was the big stack almost the whole tournament and entered heads up play double the other player- thought it did get to about even at one point. 

Here's some hands that stick out; not saying the hands were played incorrectly just interesting hands

Shanky Technologies Holdem Version 11.6.5 Hand: Ts Kd
Players = 0 have KT
Fold if any raise, raise if folds and no calls else call
hands played in session = 113
in timer: players = 0, folds in game= -1, raises = 1, checks = 0, calls = 0, bets = 0, folds = -1
casino = Ignition 9 Max, No Limit Tourny, BB = 400.00, Pot = 5 BBs, Stack = 11330.00, TI = 1 BBs
Amount To Call = 3 BBs
In Big Blind
Default Profile: "Doodle v114", Action = call force
Matching user defined condition at line 944, Action = call force
clicking Call
in timer: players = 0, folds in game= -1, raises = 2, checks = 0, calls = 0, bets = 0, folds = -1
casino = Ignition 9 Max, No Limit Tourny, BB = 400.00, Pot = 5 BBs, Stack = 11330.00, TI = 1 BBs
Amount To Call = 3 BBs
Default Profile: "Doodle v114", Action = fold force
Matching user defined condition at line 1068, Action = fold force
clicking Fold

Shanky Technologies Holdem Version 11.6.5 Hand: 3s Kc
Players = 1 Fold
hands played in session = 114
in timer: players = 1, folds in game= 0, raises = 0, checks = 0, calls = 0, bets = 0, folds = 0
casino = Ignition 9 Max, No Limit Tourny, BB = 400.00, Pot = 1 BBs, Stack = 11090.00, TI = 0 BBs
Amount To Call = 0 BBs
Matching user defined condition at line 454, Action = raisepot force
clicking POT
clicking POT
clicking Raise
in timer: players = 0, folds in game= -1, raises = 1, checks = 0, calls = 0, bets = 0, folds = -1
casino = Ignition 9 Max, No Limit Tourny, BB = 400.00, Pot = 13 BBs, Stack = 10010.00, TI = 3 BBs
Amount To Call = 2 BBs
Matching user defined condition at line 79, Action = fold force
clicking Fold


****  These were back to back hands- the 1st the opponent almost had to push any two cards so maybe better to call.   

****  The second raising but then folding to a 2 BB raise/ allin with k3.  Of course the bot doesn't really know these are all-in's so perhaps there's no real way to code for it. 

Shanky Technologies Holdem Version 11.6.5 Hand: Jc Jd
Players = 1 have JJ
If calls = 3 or more raise and call or raises, else raise but fold if two raises cold
hands played in session = 130
in timer: players = 1, folds in game= 0, raises = 0, checks = 0, calls = 0, bets = 0, folds = 0
casino = Ignition 9 Max, No Limit Tourny, BB = 500.00, Pot = 1 BBs, Stack = 8240.00, TI = 0 BBs
Amount To Call = 0 BBs
Matching user defined condition at line 422, Action = call force
clicking Call
Flop: 6c Jh Ac
Hand: Jc Jd
Board: 2 suits no possible straight
have any set
in timer: players = 1, folds in game= 0, raises = 0, checks = 1, calls = 0, bets = 0, folds = 0
casino = Ignition 9 Max, No Limit Tourny, BB = 500.00, Pot = 2 BBs, Stack = 7990.00, TI = 1 BBs
Amount To Call = 0 BBs
opponents = 1, position = last
Raise
Default Profile: "Doodle v114", Action = raisepot force
Matching user defined condition at line 1082, Action = raisepot force
clicking POT
clicking POT
clicking Bet


*****  I was surprised it didn't raise here preflop- Seemed a little suspicious since I rarely saw the profile limp another hand.  Not necessarily anything to change. 


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 20, 2022, 09:42:19 PM
Dude, please don't tell me you played a tournament with this.... This profile is only meant for SINGLE TABLE 9-man SNGs ... NO TOURNAMENTS.

Your first 2 hands have bot errors in them. Notice the players are 0 and folds in game = -1 and folds = -1 .
If this keeps happening, you will need to post it in the bug forum.

The first hand, there was a bot error that caused this. The raises went from 1 to 2 and the potsize and amounttocall didn't change. There were multiple bot read errors in that hand.

The second hand, the bot would have acted differently if it had read there was 1 opponent after it had raised. It read 0 opponents (a missread) and used another line of code that has "and not (opponentsattable = 1)" in it, meaning the missread of the bot caused this hand.
*edit* - Just checked...the bot would have called the all-in if it read the number of opponents correctly

The last hand, you found an odd piece of code.
Line 422 just calls with JJ and TT against one opponent Heads-up 50% of the time. I think it was to entice a small raise from opponent and then we raise ontop of it.

I'm going to turn that line of code off. You can turn it back on or change to 30% or something lower if you want.


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 20, 2022, 09:47:25 PM
Change 4.1 updated in code.

Change - Commented out lines 418 and 422 to slow play premium hands 40% and 50% respectively preflop against single opponent at table hoping to reraise.

If you like this idea of playing, you can uncomment these lines in your code.


Title: Re: Sam SNG Restoration Profile
Post by: tclckc on February 21, 2022, 12:22:48 AM
Thanks was posting fast should have caught the bot errors.    I've always called sit & go tournaments maybe that's not right.    This was a 9 man sit & go though.   


Title: Re: Sam SNG Restoration Profile
Post by: maxxous16 on February 21, 2022, 02:09:36 PM
Hi Thanks for this profile.
I see this part earlier like this:

Code:
// Large Stack Protection

when OpponentsAtTable >= 6
// Average Player Stack On table is 1930 (using 2500 as a mark)

  when InBigBlind and BigBlindSize <= 40 and StackSize >= 60 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 50 and StackSize >= 50 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 60 and StackSize >= 42 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 80 and StackSize >= 32 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 100 and StackSize >= 25 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 120 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 160 and StackSize >= 16 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 200 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 240 and StackSize >= 11 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 300 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 400 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize > 500 and StackSize >= 5 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force

  when InSmallBlind and BigBlindSize <= 40 and StackSize >= 60 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 50 and StackSize >= 50 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 60 and StackSize >= 42 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 80 and StackSize >= 32 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 100 and StackSize >= 25 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 120 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 160 and StackSize >= 16 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 200 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 240 and StackSize >= 11 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 300 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 400 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize > 500 and StackSize >= 5 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force

  when BigBlindSize <= 40 and StackSize >= 60 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 50 and StackSize >= 50 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 60 and StackSize >= 42 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 80 and StackSize >= 32 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 100 and StackSize >= 25 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 120 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 160 and StackSize >= 16 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 200 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 240 and StackSize >= 11 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 300 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 400 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize > 500 and StackSize >= 5 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force

when OpponentsAtTable = 5
// Average Player Stack On table is 2250 (Using 3500 as a mark)

  when InBigBlind and BigBlindSize <= 40 and StackSize >= 87 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 50 and StackSize >= 70 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 60 and StackSize >= 58 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 80 and StackSize >= 44 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 100 and StackSize >= 35 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 120 and StackSize >= 29 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 160 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 200 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 240 and StackSize >= 15 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 300 and StackSize >= 12 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 400 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize > 500 and StackSize >= 6and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force

  when InSmallBlind and BigBlindSize <= 40 and StackSize >= 87 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 50 and StackSize >= 70 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 60 and StackSize >= 58 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 80 and StackSize >= 44 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 100 and StackSize >= 35 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 120 and StackSize >= 29 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 160 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 200 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 240 and StackSize >= 15 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 300 and StackSize >= 12 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 400 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize > 500 and StackSize >= 6and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force

  when BigBlindSize <= 40 and StackSize >= 87 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 50 and StackSize >= 70 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 60 and StackSize >= 58 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 80 and StackSize >= 44 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 100 and StackSize >= 35 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 120 and StackSize >= 29 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 160 and StackSize >= 21 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 200 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 240 and StackSize >= 15 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 300 and StackSize >= 12 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 400 and StackSize >= 9 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize > 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force

when OpponentsAtTable = 4
// Average Player Stack On table is 2700 (Using 3900 as a mark)

  when InBigBlind and BigBlindSize <= 40 and StackSize >= 97 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 50 and StackSize >= 78 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 60 and StackSize >= 68 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 80 and StackSize >= 48 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 100 and StackSize >= 39 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 120 and StackSize >= 33 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 160 and StackSize >= 24 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 200 and StackSize >= 19 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 240 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 300 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 400 and StackSize >= 10 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize <= 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force
  when InBigBlind and BigBlindSize > 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88 or Hand = AJ or Hand = KQ suited or Hand = AT suited or Hand = KJ suited) Fold Force

  when InSmallBlind and BigBlindSize <= 40 and StackSize >= 97 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 50 and StackSize >= 78 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 60 and StackSize >= 68 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 80 and StackSize >= 48 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 100 and StackSize >= 39 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 120 and StackSize >= 33 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 160 and StackSize >= 24 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 200 and StackSize >= 19 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 240 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 300 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 400 and StackSize >= 10 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize <= 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force
  when InSmallBlind and BigBlindSize > 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited or Hand = AJ suited or Hand = AQ or Hand = 88) Fold Force

  when BigBlindSize <= 40 and StackSize >= 97 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 50 and StackSize >= 78 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 60 and StackSize >= 68 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 80 and StackSize >= 48 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 100 and StackSize >= 39 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 120 and StackSize >= 33 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 160 and StackSize >= 24 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 200 and StackSize >= 19 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 240 and StackSize >= 17 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 300 and StackSize >= 13 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 400 and StackSize >= 10 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize <= 500 and StackSize >= 7 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force
  when BigBlindSize > 500 and StackSize >= 6 and not (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) Fold Force

And:


Code:
// Large Chip Lead H // U

when OpponentsAtTable = 1 and ((BigBlindSize <= 80 and StackSize >= 112) or
          (BigBlindSize <= 100 and StackSize >= 90) or
          (BigBlindSize <= 120 and StackSize >= 75) or
          (BigBlindSize <= 160 and StackSize >= 56) or
          (BigBlindSize <= 200 and StackSize >= 45) or
          (BigBlindSize <= 240 and StackSize >= 37) or
          (BigBlindSize <= 300 and StackSize >= 30) or
          (BigBlindSize <= 400 and StackSize >= 22) or
          (BigBlindSize <= 500 and StackSize >= 18) or
          (BigBlindSize >= 800 and StackSize >= 11) or
          (BigBlindSize > 500 and StackSize >= 15))

  when InBigBlind Call Force
  when InSmallBlind and Raises >= 1 and BotsLastAction = Raise Call Force

// In Money


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 21, 2022, 06:21:12 PM
What do you mean?


Title: Re: Sam SNG Restoration Profile
Post by: tclckc on February 21, 2022, 07:05:14 PM
I am now 3 for 3 itm.  One 1st and two 3rd place finishes.   The only few hands I didn't like mostly had display errors stemming from me 4 tabling on 2 screens.     I'll keep testing it.


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 21, 2022, 07:08:02 PM
Check your bot logs for times you had misreads like before.
Check for opponentsattable count being 0 or negative numbers, raises being negative, opponents being negative, etc.

This particular code is VERY important to have the bot reading these correctly (as you have seen in the first few hands you sent)


Title: Re: Sam SNG Restoration Profile
Post by: tclckc on February 22, 2022, 04:51:40 PM
It appears my missreads are due to multi-tabling and running a dual monitor.  I can run 4 tables with a dual monitor with no overlap or 2 on a single.  The errors aren't that common but obviously cost me some roi.  If I find any error while on a single screen I'll report it and have been running that way recently.  In the long run I'll have to decide which is more profitable or come up with a different solution.   My monitor is big with 1920 x 1080 max resolution but the bovada tables seem so huge.  

Had my 1st loss-so now 3 cashed out of 4.  1st, 2 3rd places and a 9th.  The pot was too small for this shove in my opinion which lead to the loss.  I think doodle had the right idea here with a pot bet.  

Shanky Technologies Holdem Version 11.6.5 Hand: Qd Ks
Players = 8 have KQ
Raise if no raises but fold if 2+ raises cold. + modified instructions
hands played in session = 14
in timer: players = 8, folds in game= 5, raises = 0, checks = 0, calls = 2, bets = 0, folds = 5
casino = Ignition 9 Max, No Limit Tourny, BB = 30.00, Pot = 3 BBs, Stack = 1120.00, TI = 0 BBs
Amount To Call = 0 BBs
In Small Blind
Default Profile: "Doodle v114", Action = call force
Matching user defined condition at line 895, Action = call force
clicking Call
Flop: 2s 4d Kh
Hand: Qd Ks
Board: 3 suits no possible straight
have top pair
also have 2nd best kicker
in timer: players = 8, folds in game= 5, raises = 0, checks = 0, calls = 0, bets = 0, folds = 0
casino = Ignition 9 Max, No Limit Tourny, BB = 30.00, Pot = 4 BBs, Stack = 1105.00, TI = 1 BBs
Amount To Call = 0 BBs
opponents = 3, position = first
Play if no raise
Default Profile: "Doodle v114", Action = betpot force
Matching user defined condition at line 1148, Action = raisemax force
clicking MAX
clicking MAX
clicking Bet



Title: Re: Sam SNG Restoration Profile
Post by: Poker8 on February 22, 2022, 04:57:55 PM
I would have played it the same way. In a situation like that, the possibilities are out of the other two callers, there is a chance for a strait draw or trips are already there on the table unfortunately.


Title: Re: Sam SNG Restoration Profile
Post by: tclckc on February 22, 2022, 05:28:21 PM
The pot you are trying to take down in only 4 bb though.  Seems like a lot of chips to shove for a small pot.  Opponent calling range what, 2, 5, trips, 2 pair, and maybe any king.  I would think most weaker kings would be folded and you may be losing value on a pretty good hand.  Interesting discussion though I know there are many ways to successfully play.  I may make a minor edit here on my own.

Thanks for responding!  


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 22, 2022, 08:41:31 PM
I’m not at my home.
Can you post line 1148 here for me please?


Title: Re: Sam SNG Restoration Profile
Post by: Poker8 on February 23, 2022, 01:02:21 AM
when HaveTopPair and (Hand = AK or Hand = KQ) and (Board = K) and not (Board = A) and not (StraightPossible or FlushPossible or PairOnBoard) RaiseMax Force


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 23, 2022, 01:34:56 AM
Okay, poker8 or tclck .. any recommendations to define this more or change it?

Maybe only if a number of opponents remain in hand?



Title: Re: Sam SNG Restoration Profile
Post by: Poker8 on February 23, 2022, 02:03:25 AM
Okay, poker8 or tclck .. any recommendations to define this more or change it?

Maybe only if a number of opponents remain in hand?



I'm going to think on it a bit.


Title: Re: Sam SNG Restoration Profile
Post by: tclckc on February 23, 2022, 04:45:11 AM
My initial thought was change Max to pot bet.   If the pot gets to be 40 percent of my stack maybe then shove.  

everyone like the small blind call?  (891 to 897 below)  raising pre-flop might also make the shove more reasonable. 


when InSmallBlind and Calls >= 2 and Raises = 0 and Bets = 0
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = AK or Hand = AQ) RaisePot Force
  when PairInHand Raise 3 Force
  when BigBlindSize >= 80 and Random > 60 and (Hand = AJ or Hand = AT or Hand = KQ or Hand = KJ suited or Hand = A9 suited or Hand = QJ or Hand = JT or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited) Raise 2 Force
  when (Hand = AJ or Hand = AT or Hand = KQ or Hand = KJ suited or Hand = A9 suited or Hand = QJ or Hand = JT or Hand = T9 suited or Hand = 98 suited or Hand = 87 suited or Hand = 76 suited) Call Force
  when (hand = A or Hand = K or Hand = QT or Hand = Q9 or Hand = Q8 or Hand = J9 or Hand = J8 suited or Hand = J7 suited or Hand = T8 suited) Call Force
  when Others Fold Force

Still thinking. 



Title: Re: Sam SNG Restoration Profile
Post by: tclckc on February 23, 2022, 08:05:06 PM
This seems pretty conservative for on the button in an unentered pot;  lines 698 to 700.  I see the intent is big stack bubble code but it is still folding hands like aq non suited and aj suited even more so then the a10 example.   

when OpponentsAtTable = 3 and (StackSize >= 15 or (OpponentsWithHigherStack = 1 and OpponentsWithLowerStack >= 1)) and In Button
  when (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = AK or Hand = AQ suited) RaiseMax Force
  when Others Fold Force

Shanky Technologies Holdem Version 11.6.5 Hand: Ts Ac
Players = 3 have AT
Fold if any raise, raise if folds and no calls else call
hands played in session = 22
in timer: players = 3, folds in game= 1, raises = 0, checks = 0, calls = 0, bets = 0, folds = 1
casino = Ignition 9 Max, No Limit Tourny, BB = 150.00, Pot = 1 BBs, Stack = 3056.00, TI = 0 BBs
Amount To Call = 1 BBs
In Button
Matching user defined condition at line 700, Action = fold force
clicking Fold



Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 23, 2022, 08:09:46 PM
Yep.. that last one is bubble code. No use sinking chips in with marginal hands in the bubble. Notice opponents remaining at table was 3. Hence why this is for 9man single table sngs and not 6 man sngs. I like this style of play to protect our stack during bubble play.


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 24, 2022, 12:34:03 AM
*There currently is an issue with ignition poker room where bot where incorrectly read all-ins and will reduce the opponentsattable variable by 1 when it should not*

This means if there are 5 other players and one goes all-in, it will read 4 players at the table. This is a big problem for this particular profile especially when heads-up or on bubble.

I'm attempting to get it fixed.


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on February 24, 2022, 12:57:34 AM
I think I have figured out a crude workaround for the opponentsattable issue when there is an opponent all in.

I hope we can get the error fixed, but I'm going to implement a code soon for a workaround.
However, the workaround will only be for ignition ...any other site would be messed up.

I will have to use user variables in an odd way to fix our issue.

I'm busy tonight but should get to it by tomorrow.

Hold off on playing at ignition for now until I can do the fix.


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: Mrphil on February 25, 2022, 02:44:58 AM
So .... I spent hours making a work around, just to realize that the bot doesn't even see the opponent as all-in when an opponent goes all-in in front of us.

I thought the playersattable count was wrong, but it's actually worse than that.

So much for hours making a fix  banghead.gif

I did end up finding an error in the original code that only occurs when we have the nuts on the turn (sooo very rare and lucky I found it).

Please use the latest profile on the first page if you are not playing at Ignition.


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: tclckc on February 25, 2022, 12:54:26 PM
All the work you have done on this is amazing and much appreciated.  Thank you!


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: Poker8 on February 25, 2022, 08:43:44 PM
I can’t play ignition. And I have paused playing on ACR pending a fix on a card reading error that I turned into MS. Thank you for the hard work that you’ve put in so far.


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: tclckc on March 08, 2022, 07:42:52 PM
Anyone running this currently?  I had a lot of success initially but have errors on both ACR and bovada currently.  No place to play for a bit. 


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: Poker8 on March 09, 2022, 02:49:27 AM
I'm still waiting for a update for ACR.


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: tclckc on March 09, 2022, 02:54:34 AM
Is the acr issue a known issue for everyone or something  unique to your setup?


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: Sam77755 on April 10, 2022, 01:23:06 AM
WoW, I posted this profile over 8-9 years ago and it is still allive and kicking!! I have no objections at all of you guys doing whatever you feel like with it.

P.S. back then it was intended to play 9 players SNGs ony.


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: Mrphil on April 10, 2022, 05:09:12 PM
Oh wow… it’s been years since I’ve seen anything from you and I figured you were gone. I wish they would fix the ignition bug though so I could get it to work there and try to ramp it up :(


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: Poker8 on April 10, 2022, 05:32:17 PM
I am glad to see some of us "old timers" still here. My ACR bug is that sometimes the TT hand gets read as TdTd. I will make incorrect moves thinking it has a flush. :(


Title: Re: Sam SNG Restoration Profile *DO NOT USE AT IGNITION AT THIS TIME*
Post by: Mrphil on April 20, 2022, 02:24:08 AM
This “may” be fixed now to be okay to try at ignition with the latest update fixes (only if you are using the latest version), but I have not been home to test it.

I’ll try to get on tomorrow and see if it’s been fixed.


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on April 22, 2022, 04:33:41 AM
Hey, the issue was fixed, and now this profile CAN be used at ignition and bovada.

Go ahead and give it a go.

 thumbsup.gif


Title: Re: Sam SNG Restoration Profile
Post by: tygawoodys on May 21, 2022, 12:39:29 PM
Hey, the issue was fixed, and now this profile CAN be used at ignition and bovada.

Go ahead and give it a go.

 thumbsup.gif
Thanks for the effort, going to  give this a go


Title: Re: Sam SNG Restoration Profile
Post by: Saucedup26 on September 13, 2022, 03:17:28 AM
Anyone still working on this?  Stumbled upon it today and caught this hand....

Shanky Technologies Holdem Version 11.7.6 Hand: Jc Qc
Players = 4 have QJ suited
Fold if raises and less calls, raise if opponents left <= 3 fold if 2+ raises cold
hands played in session = 992
in timer: players = 4, folds in game= 3, raises = 1, checks = 0, calls = 0, bets = 0, folds = 3
casino = Ignition 9 Max, No Limit Tourny, BB = 100.00, Pot = 3 BBs, Stack = 1265.00, TI = 1 BBs
Amount To Call = 1 BBs
In Big Blind
Default Profile: "Doodle v114", Action = call force
Matching user defined condition at line 953, Action = raise 3 force
typing 500
clicking Raise
Flop: Ad Jd Js
Hand: Jc Qc
Board: pair with 2 suits
have trips
in timer: players = 4, folds in game= 3, raises = 0, checks = 0, calls = 0, bets = 1, folds = 0
casino = Ignition 9 Max, No Limit Tourny, BB = 100.00, Pot = 60 BBs, Stack = 865.00, TI = 5 BBs
Amount To Call = 50 BBs
opponents = 1, position = last
Raise if no raises
Matching user defined condition at line 1369, Action = fold force
clicking Fold


It came from this section of code....

when StackSize <= 9 and BigBlindSize < 300

  when (HaveFullHouse or HaveQuads or HaveStraightFlush or HaveNuts) RaiseMax Force force
  when (HaveStraight or HaveFlush) RaiseMax Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and BotIsLastRaiser Raise 2 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 0 and Raises = 0 and (not BotIsLastRaiser) Raise 4 Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises = 0 Raise 75% Force
  when HaveSet and (Hand = AA or Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = 99 or Hand = 88) and Bets = 1 and Raises >= 1 RaisePot Force
  when (HaveTwoPair or HaveSet) RaiseMax Force
  when HaveOverPair RaiseMax Force
  when HaveTopPair RaiseMax Force
  when Position = Last and Bets = 0 and Raises = 0 and HavePair Raise 2 Force
  when HavePair and Bets = 0 and Raises = 0 Raise Force
  when HavePair and Raises = 1 and BetSize <= 49% StackSize Call Force
  when HavePair and Raises = 1 and BetSize > 49% StackSize Fold Force
  when HavePair and Raises >= 1 Fold Force
  when (HaveStraightDraw or HaveFlushDraw) RaiseMax Force
  when Others Fold Force


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on September 13, 2022, 05:39:33 AM
Great catch. Looks like he coded for sets in this situation but forgot trips.
The quick fix is simply to add "or havetrips" to the line " when (HaveTwoPair or HaveSet) RaiseMax Force". Please see the next post.

I'll look it over to make sure and update it.

Thank you for helping out with profile development.


Title: Re: Sam SNG Restoration Profile
Post by: Mrphil on September 13, 2022, 06:07:08 AM
VERSION 4.2 OUT. Please recopy the code on the 1st Post which has been updated.

Fix
- Two locations where havetrips was not addressed in Flop Code and bot folds trips when it should not have. Thank you to Saucedup.

-Sauced, please use the version on the 1st place because two updates were actually required because I found the logic hole in another spot in the code as well. Also, please use the mtt.ppl profile as the backup .ppl which is also included in the text in the first post (above the profile).


Title: Re: Sam SNG Restoration Profile (9-man Single Table SNG)
Post by: Saucedup26 on September 13, 2022, 04:37:12 PM
Thanks for updating.  Will be running it a bunch this week.  So far my best success has been with KGB in SNG's.  I'm hopeful it outperforms it :)


Title: Re: Sam SNG Restoration Profile (9-man Single Table SNG)
Post by: DroneProbe on November 27, 2022, 01:41:27 PM
having an unusual problem.

(https://i.gyazo.com/e8c3acdfb7d4fb34a9bed5491348a26f.png)

cant see the mysterious hidden character its talking about either!


Title: Re: Sam SNG Restoration Profile (9-man Single Table SNG)
Post by: Mrphil on November 27, 2022, 04:43:53 PM
Just tested by copying and pasting from first post. Profile loaded fine and worked fine.

Please redo and try again. Grab it from right after "raisemin force" at the end of the profile and select all the way up to the top of the profile. It has more lines than when you started having read issues, so I believe you may not have got the bottom of the profile copied properly originally.


Title: Re: Sam SNG Restoration Profile (9-man Single Table SNG)
Post by: maxxous16 on November 27, 2022, 05:10:06 PM
I had this problem also with Firefox but not with Edge, if it can help you! ;)



Title: Re: Sam SNG Restoration Profile (9-man Single Table SNG)
Post by: DroneProbe on November 28, 2022, 02:02:57 AM
Just tested by copying and pasting from first post. Profile loaded fine and worked fine.

Please redo and try again. Grab it from right after "raisemin force" at the end of the profile and select all the way up to the top of the profile. It has more lines than when you started having read issues, so I believe you may not have got the bottom of the profile copied properly originally.

Tried as you suggested before I posted the issue but as it turns out....

I had this problem also with Firefox but not with Edge, if it can help you! ;)

WE HAVE A WINNER!

For whatever reason copying from Firefox caused the issue. I started up Chrome, copy pasted and it worked with no issues at all! I might suggest Mrphil putting somewhere in the first post to ask people to avoid using Firefox                                                                                                                                                                                                                                                                                                                                                                                                                                                                         


Title: Re: Sam SNG Restoration Profile (9-man Single Table SNG)
Post by: Mrphil on November 28, 2022, 02:31:19 AM
Will do.