|
View Poll Results: Should scum thread titles be allowed? | |||
Yes | 27 | 35.53% | |
No | 17 | 22.37% | |
Pokeraddict should use his best judgement | 32 | 42.11% | |
Voters: 76. You may not vote on this poll |
|
Thread Tools | Display Modes |
#32
|
|||
|
|||
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. |
|
|