#1
|
|||
|
|||
Stars Buddy List AHK Script
I thought some people here might be interested in this, I've been using it for a few days and it's helped me a lot. As anyone who plays on Stars knows, they don't have a buddy list, which can make tracking fish a pain. I wrote a very simple ahk script that will go through a list of players line by line and search for that player. If it finds any of them online, it writes their name to a textfile. So, if you have a file of players names like so:
[ QUOTE ] Player1 Player2 Player3 [/ QUOTE ] in c:\buddies.txt (you can change the script to reflect whatever file you want to use), the script will search for all their names on stars. If, for example, it finds Player2 is online, it will write their name to another text file (c:\onlinebuddies by default, but again, change it to whatever you want). It takes me about 3 minutes to search through about 200 names, then I just pop open the text file and I have an up to date list of who's online. I'm sure one of the AHK gurus here could have done a much better job, and this script is pretty primitive. But I thought I'd share it here in case anyone could use it. As usual, It works for me, I can't guarantee it will work for you. [ QUOTE ] #NoEnv #SingleInstance Ignore FileDelete, c:\onlinebuddies.txt Loop, Read, C:\buddies.txt { SetTitleMatchMode, 1 IfWinExist PokerStars Lobby { WinActivate } else return Send, !r Sleep, 10 Send, f {Enter} Send, %A_LoopReadLine% {Enter} Sleep, 1000 IfWinExist, PokerStars, Not Found { Send, {Enter} } else { FileAppend, ( %A_LoopReadLine% ), c:\onlinebuddies.txt Send, {Esc} } } [/ QUOTE ] |
|
|