Code: Select all
setfocus>something
label>repeata
MouseMove>281,300
Lclick
wait>1.8
MouseMove>448,351
Lclick
wait>1.5
MouseMove>376,253
Lclick
wait>1.5
MouseMove>604,344
Lclick
wait>1.75
Send>3
wait>1.75
Press Enter
MouseMove>376,253
Lclick
wait>1.75
MouseMove> 604,344
Lclick
wait>1.75
Send>5
wait>1
Press Enter
MouseMove>376,253
Lclick
wait>1.75
MouseMove> 604,344
Lclick
wait>1.75
Send>5
wait>1
Press Enter
MouseMove>376,253
Lclick
wait>1.75
MouseMove> 604,344
Lclick
wait>1.75
Send>5
wait>1
Press Enter
MouseMove>376,253
Lclick
wait>1.75
MouseMove> 604,344
Lclick
wait>1.75
Send>5
wait>1
Press Enter
MouseMove>376,253
Lclick
wait>1.75
MouseMove> 604,344
Lclick
wait>1.75
Send>5
wait>1
Press Enter
wait>1.2
Press Esc
MouseMove>235,301
wait>2
WaitScreenImage>C:\weapon int.bmp
send>y
wait>1
label>redw
Let>x=1
ScreenCapture>0,0,1018,767,C:\wholegame.bmp
FindImagePos>C:\red weapon.bmp,C:\wholegame.bmp,20,1,XPos,YPos,redweapon
FindImagePos>C:\empty.bmp,C:\wholegame.bmp,20,1,XPos,YPos,rep
FindImagePos>C:\empty slot.bmp,C:\wholegame.bmp,20,1,,,break
FindImagePos>C:\stuck.bmp,C:\wholegame.bmp,20,1,,,stuck
if>stuck>0
send>y
wait>.8
send>y
goto>stuck1
endif
label>stuck1
if>break>0
wait>1
mousemove>634,492
lclick
wait>1.3
mousemove>184,435
lclick
wait>2
mousemove>194,156
wait>1
goto>red
endif
if>rep>0
wait>1.5
send>y
goto>repeata
endif
label>red
If>redweapon>0
MouseMove>XPos_0,YPos_0
wait>0.4
lclick
wait>0.4
MouseMove>297,421
lclick
wait>0.4
MouseMove>196,545
lclick
wait>1
Endif
Let>28=x+1
wait>1
Goto>redw