#151
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
Thanks for the code!
How can I set the betsize to be an integer instead of a float? |
#152
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ QUOTE ]
Thanks for the code! How can I set the betsize to be an integer instead of a float? [/ QUOTE ] You want to round all your bets to nearest dollar? |
#153
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ QUOTE ]
[ QUOTE ] Thanks for the code! How can I set the betsize to be an integer instead of a float? [/ QUOTE ] You want to round all your bets to nearest dollar? [/ QUOTE ] Yes! [img]/images/graemlins/smile.gif[/img] |
#154
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
Try this (untested)
Replace these lines (they are in the FormatBet() function) OldFormat := A_FormatFloat SetFormat, Float, 0.2 bet += 0.0 SetFormat, Float, %OldFormat% with bet := Round(bet, 0) |
#155
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
Works fine! Thanks!
|
#156
|
|||
|
|||
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 "!". |
#157
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
Callsize checks to see if someone bet. !Callsize means noone has bet, so that the function only works if you bet, but not if you raise or reraise. If you don't want it just remvoe it [img]/images/graemlins/smile.gif[/img]
|
#158
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
how do i make it so that it raises 4 bb's preflop instead of 3.5 ?
|
#159
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
nvm got it working i think
|
#160
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
I can't get this to work with visa? Anyone with success? I've the lastest version of AHK and think I've tried everything
|
|
|