Re: PokerPad - AHK hotkey script
[ QUOTE ]
For what reason (other than clicking it) do you need to interact with the raise button?
[/ QUOTE ]
For Party (and the majority of other sites) I use the following function to determine the pot bet size:
<font class="small">Code:</font><hr /><pre>GetBet(factor, pot, call, raise, blind) {
if call {
pot += call
if (call < blind) { ; small blind
bet := blind
} else { ; raise or open bet preflop
bet := raise - call
if (call > bet)
bet := call
}
} else if (raise != blind) { ; big blind
bet := blind
} else { ; open bet postflop
bet := 0
}
pot *= factor
return bet + pot
}</pre><hr />
The raise variable is suppose to be the minimum raise and is used in two different places in that function to get the correct amount.
|