---- This will only work on 1920x1080 resolutions! ----
This is a small, simplistic script I wrote while farming Aspects to automatically TP back to town, leave the game, recreate the game, buff up, and WP back to the point of the weapon racks/fallen angels, right before the teleporter to the Aspect.
This uses two buffs, which are editable, and is activated by hitting the - key. Paused by using Page Up, and stopped by hitting Page Down.
In order to edit the buffs, look for the following lines:
Send ("3")
MouseClick("right")
It's pretty obvious, if you want to change the buffs, change the number/format. If your buffs are on hotkey 1 and 2, change it to be:
Send ("1")
Send ("2")
Buffs are on left and right click?
MouseClick("left")
MouseClick("right")
Code:
Global $Paused
HotKeySet("-", "Leave")
HotKeySet("{PGUP}", "Pause")
HotKeySet("{PGDN}", "Stop")
$go = True
$Leave = False
While $go
if($Leave) Then
Send("t")
Sleep(6000)
Send("{Escape}")
MouseClick("left", 956, 579)
Sleep(3000)
MouseClick("left", 230, 416)
Sleep(5000)
Send ("3")
MouseClick("right")
MouseClick("left", 952, 802)
Sleep(2000)
MouseClick("left", 251, 633)
Sleep(1000)
MouseClick("left", 1413, 192)
$Leave = False
EndIf
WEnd
Func Pause()
$Leave = False
EndFunc
Func Stop()
Exit
EndFunc
Func Leave()
$Leave = True
EndFunc