CoordMode, Pixel, Relative
CoordMode, Mouse, Relative
Color = 0x00FF00
DoubleStrafe = {F4}
TrueSight = {F6}
Concentration = {F7}
FlyWing = {F3}
SleepDoubleStrafe = 500
SleepTrueSight = 25000
SleepCity = 2000
GotoCity = {Alt Down}4{Alt Up}
UseStorage = {Alt Down}2{Alt Up}
UseInventory = {Alt Down}E{Alt Up}
$F4::
Loop {
Loop, 30 {
Send, %DoubleStrafe%
PixelSearch, aX, aY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, %Color%, 0, Fast
if(ErrorLevel=1)
Send, %FlyWing%
else
Click, %aX%, %aY%
Sleep, %SleepDoubleStrafe%
}
{
SetMouseDelay, 50
Send, %GotoCity%
Sleep, 3000
Send, %UseStorage%
Sleep, %SleepCity%
Send, %UseInventory%
Sleep, %SleepCity%
MouseClickDrag, L, 431, 375, 730, 375
Sleep, 500
Click
Sleep, 500
Send, %UseInventory%
MouseMove, 858, 680
Sleep, 500
Click
MouseMove, 670, 290
Click
Sleep, 500
Send, %Concentration%
Sleep, 1000
MouseMove, 765, 290
Click
Sleep, 300
Send, {Enter}
Sleep, 1000
Send, {Enter}
Sleep, 1000
Send, {Enter}
Sleep, 1000
}
}
!=::Pause
!-::reload
!Delete::ExitApp