Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-20-2006, 01:00 PM
GutPunch GutPunch is offline
Senior Member
 
Join Date: Feb 2005
Location: IL
Posts: 1,353
Default AHK bet the pot Question..

I am trying to get the AHK bet the pot script to do something and I can not figure it out.

What I want it to do is bet only whole numbers. So for example when the pot is $44.35 it bets $44. Or when I bet 2/3's pot it will round to the nearest whole number.

How do I go about doing this?

Also, a quick question about mouse buttons. I have a microsoft optical mouse, which has 1 button on both the left and right SIDE of the mouse (not tablking about the top). So how do I change commands so I can make use of these extra buttons?

Thanks
Reply With Quote
  #2  
Old 09-20-2006, 04:38 PM
GutPunch GutPunch is offline
Senior Member
 
Join Date: Feb 2005
Location: IL
Posts: 1,353
Default Re: AHK bet the pot Question..

Figured out the first part for betting whole numbers. Now what I am wondering is insted of always betting the pot (which includes the rake) ... How do I set it up so it will bet the pot minus the rake?

So for example if the pot is 14.50 (with .50 rake being taken out) AHK will bet $15 when I would really like it to bet $14.

Sorry for being nitpickey, but is this possible?? Also still wondering about the other buttons from the question above.

Thanks
Reply With Quote
  #3  
Old 09-20-2006, 07:54 PM
captainwan captainwan is offline
Senior Member
 
Join Date: Nov 2005
Posts: 128
Default Re: AHK bet the pot Question..

You have to set the 5th parameter of this function to 1 to deduct the rake from the pot calculation:

Pot(id, 1, 2, 1, <font color="red">1 </font> , "ssnl")
Reply With Quote
  #4  
Old 09-20-2006, 09:08 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: AHK bet the pot Question..

[ QUOTE ]
You have to set the 5th parameter of this function to 1 to deduct the rake from the pot calculation:

Pot(id, 1, 2, 1, <font color="red">1 </font> , "ssnl")

[/ QUOTE ]

This is correct [img]/images/graemlins/smile.gif[/img]

Also, as you have likely already discovered, the third parameter controls the # of decimal places to round bet sizes to - setting this to zero will result in bets in only whole $ amounts, e.g.:
[ QUOTE ]

Pot(id, 1, <font color="red">0</font>, 1, 1, "ssnl")


[/ QUOTE ]

The left/right side buttons on your Microsoft mouse are probably known as XButton1:: and XButton2:: to AHK scripts.

Good Luck,

dave.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.