View Single Post
  #156  
Old 09-04-2007, 11:07 AM
spiff21 spiff21 is offline
Senior Member
 
Join Date: Mar 2005
Location: Sweden
Posts: 184
Default Re: AHK Bet Pot Script for iPoker

[ QUOTE ]
[ QUOTE ]
is there a script that lets me custimize it, like 3/4 of the pot and so forth?

[/ QUOTE ]

I can do that in my modifyed version of this script. But there are some glitches and features I am going to add before releasing it. Havn't worked much on it lately though.

It is pretty simple though if you wanna modify it yourself:

Modyfy the call to the betpot function like this:

~RButton::
BetPot(0.67)
Return

This will bet 2/3 pot.

Then the first like of the betpot function that looks like this
BetPot()

change that to

BetPot(PartSize)

Then before the

BetSize := FormatBet.....

in the BetPot function add these lines:

If (!Callsize)
{
PotSize := Potsize * PartSize
}

and you can now bet fractions of the pot. Hope that makes sense.

[/ QUOTE ]

Why is "If (!Callsize)" needed?
Is "!" the same as "NOT"?
The PartSize thingy doesn't seem to be accounted for when I'm using "!".
Reply With Quote