Two Plus Two Newer Archives  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-06-2006, 02:58 PM
DCWGaming DCWGaming is offline
Senior Member
 
Join Date: Apr 2005
Posts: 718
Default A pretty short AHK script I made - Fastest NL script i\'ve tried

Most people seem to have been remapping keyboard keys to navigate windows and play...this creates a problem any time you want to browse/chat/AIM/etc etc. So I just modified my mouse and my numpad and i'm moving faster than ever...

Overview:
Fold - Right Click
Checkfold - Xbutton2 (5th mouse key...i never really use it)
Fold to any - Arrow key right
Check/call - Xbuton1 (4th mouse key...preflop call)
Bet/raise - Numpad Enter - After typing in the bet amount on the numpad, just hit enter and it makes the bet for you.
Autopost - Arrow key down
Sit out - Numpad +

If anybody notices any tweaks or anything you could do to improve it, feel free to pitch in.


; Fold to any
~Right::
SetMouseDelay, -1
MouseGetPos, curPosX, curPosY, curWin
MouseClick, left, 14, 505
Sleep, -1
MouseMove,curPosX, curPosY, curWin
Sleep, -1
return

; Fold
RButton::
SetMouseDelay, -1
MouseGetPos, curPosX, curPosY, curWin
MouseClick, left, 240, 470
Sleep, -1
MouseMove,curPosX, curPosY, curWin
Sleep, -1
return

; Check/Fold
~XButton2::
SetMouseDelay, -1
MouseGetPos, curPosX, curPosY, curWin
MouseClick, left, 240, 500
Sleep, -1
MouseMove,curPosX, curPosY, curWin
Sleep, -1
return

; Check/Call
XButton1::
SetMouseDelay, -1
MouseGetPos, curPosX, curPosY, curWin
MouseClick, left, 385, 500
Sleep, -1
MouseMove,curPosX, curPosY, curWin
Sleep, -1
return

; Bet/Raise
~NumpadEnter::
SetMouseDelay, -1
MouseGetPos, curPosX, curPosY, curWin
MouseClick, left, 550, 500
Sleep, -1
MouseMove,curPosX, curPosY, curWin
Sleep, -1
return

; AutoPost
~Down::
SetMouseDelay, -1
MouseGetPos, curPosX, curPosY, curWin
MouseClick, left, 14, 533
Sleep, -1
MouseMove,curPosX, curPosY, curWin
Sleep, -1
return

; SitOut
~NumpadAdd::
SetMouseDelay, -1
MouseGetPos, curPosX, curPosY, curWin
MouseClick, left, 14, 568
Sleep, -1
MouseMove,curPosX, curPosY, curWin
Sleep, -1
return

I just move my mouse around right clicking and folding all of those hands, its ridiculously fast...I usually go into system manager thing and set AHK on high priority so it doesnt lag, because sometimes it will bug and the mouse will get stuck for a second.
Reply With Quote
 


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 04:06 PM.


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