Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv
- #SingleInstance force
- SendMode Play ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- IfNotExist, cports.exe
- {
- UrlDownloadToFile, http://lutbot.com/ahk/cports.exe, cports.exe
- if ErrorLevel
- MsgBox, There was a problem downloading cports.exe
- UrlDownloadToFile, http://lutbot.com/ahk/cports.chm, cports.chm
- if ErrorLevel
- MsgBox, There was a problem downloading cports.chm
- UrlDownloadToFile, http://lutbot.com/ahk/readme.txt, readme.txt
- if ErrorLevel
- MsgBox, There was a problem downloading readme.txt
- }
- #IfWinActive, Path of Exile
- ~XButton2::Logout()
- return
- Logout() {
- Run cports.exe /close * * * * PathOfExile.exe
- return
- }
- Remaining() {
- BlockInput On
- SendInput, {Enter}
- Sleep, 20
- SendInput, {/}remaining
- SendInput, {Enter}
- BlockInput Off
- return
- }
- Teleport() {
- BlockInput On
- SendInput, {Enter}
- Sleep, 20
- SendInput, {/}hideout
- SendInput, {Enter}
- BlockInput Off
- return
- }
Advertisement
Add Comment
Please, Sign In to add comment