hment ".\plugin" ,*.dll
UserVar var1=DropList{"蜀国书丞":1|"魏国书丞":2|"吴国书丞":3}=0 "〖行脚地点〗"
UserVar var2=DropList{"自动答题":1|"手动答题":2}=1 "〖答题设置〗"
Rem 开始rem
Call 位置()
Call 主书丞进行脚()
Rem 判断出口rem
Call 判断出口()
Rem 出口选择rem
If k=1 Then
Rem 一号出口rem
Call 一号出口()
End if
If k=2 Then
Rem 二号出口rem
Call 二号出口()
End if
If k=3 Then
Rem 三号出口rem
Call 三号出口()
End if
If k=4 Then
Rem 四号出口rem
Call 四号出口()
End if
If k=5 Then
Rem 五号出口rem
Call 五号出口()
End if
If k=6 Then
Rem 六号出口rem
Call 六号出口()
End if
Call 持续报警()
Call 四号出口()
EndScript
Rem 行脚商行馆
For 3
For 300
KeyDownH 39,1
Delay 100
Call FindPic(740, 388, 778, 429,"Attachment:\行脚1810.bmp",0.8,intX,intY)
If intX>=0 and intY>=0 Then
KeyUpH 39,1
Delay 500
Goto 行脚商行馆01
End if
Next
KeyUpH 39,1
KeyDownH 37,1
Delay 9000
KeyUpH 37,1
Next
Call 持续报警()
Rem 行脚商行馆01
For 120
MoveTo 824,258
Delay 100
KeyPressH 71,1
Delay 500
Call FindPic(160, 144, 205, 161,"Attachment:\行脚对话01.bmp",0.8,intX,intY)
If intX>=0 and intY>=0 Then
MoveTo 381,250
Delay 500
LeftClick 1
Delay 1000
MoveTo 824,258
Delay 100
End if
Call FindPic(450, 436, 526, 456,"Attachment:\行脚对话02.bmp",0.8,intX,intY)
If intX>=0 and intY>=0 Then
MoveTo 488,442
Delay 500
LeftClick 1
Delay 1000
MoveTo 824,258
Delay 100
End if
Call FindPic(315, 307,360, 334,"Attachment:\行脚对话03.bmp",0.8,intX,intY)
If intX>=0 and intY>=0 Then
MoveTo 410,318
Delay 500
LeftClick 1
Delay 1000
MoveTo 824,258
Delay 100
End if
Call FindPic(403, 309, 439, 329,"Attachment:\行脚对话04.bmp",0.8,intX,intY)
If intX>=0 and intY>=0 Then
MoveTo 445,317
Delay 500
LeftClick 1
Delay 1000
MoveTo 824,258
Delay 100
End if
Rem 行脚出题
Call FindPic(601, 195, 652, 231,"Attachment:\行脚的考验.bmp",0.8,intX,intY)
If intX>=0 and intY>=0 Then
Call 答题()