#1
|
|||
|
|||
Adding to Stars AHK Script
The Stars SNG script I use raises 2.5 times the BB on any street using the right click mouse button. I want it to remain 2.5 times preflop but 1.5 times the BB on the flop and later streets with +/- 1 BB using the mouse scroll. I tried using the betpot script simultaneously but couldn't get it to work. If anyone can edit the following script to include what I want I'll send you a few bucks on Stars.
Thanks ----- #NoEnv #Persistent #SingleInstance force #Include %a_scriptDir% #Include Functions.ahk interval = 100 ; period between refreshes Loop { AutoRegister() NoMsgBox() Sleep %interval% } F1:: ;__Cascades tables PostStarsClick(450, 60, ExFromList(tablesStars())) SendPlay c return F2:: ;__Closes tournament lobbies CloseTournamentLobby() return ~MButton:: ;__Pushes all-in MouseGetPos,,, curWin ControlSetText, Edit7, 999999, ahk_id%curWin% return ~RButton:: WinGet,id,,A WinGetTitle, title, ahk_id%id% IfInString, title, No Limit Hold'em { Slash := Instr(title, "/") + 2 Space := Instr(title, " ", false, Slash) BBLength := Space - Slash StringMid, Bigblind, title, Slash, BBLength Transform, RaiseAmount, Round, Bigblind * 2.5 MouseGetPos,,, curWin ControlSetText, Edit7, %RaiseAmount%, ahk_id%curWin% } return Autoregister() { SetTitleMatchMode 2 IfWinExist, Tournament Registration ControlClick, Button1 ControlClick, OK } CloseTournamentLobby() { Loop { SetTitleMatchMode 2 IfWinExist, Lobby,, PokerStars Lobby WinClose else break } } NoMsgBox() { IfWinExist, PokerStars, OK WinClose IfWinExist, PokerStars, Internal Sleep 500 WinClose, PokerStars, Internal return } |
|
|