Rem NPC继续任务
If ttlcount >= cint(hzhhjsh)
Gosub 继续任务
Gosub 卖宝
Goto 换帐户
EndIf
If count80 >=80
//继续任务
Gosub 继续任务
number=number+1
ttlCount=ttlCount+1
count80=0
Gosub 退出模块
Goto 重新进入口
EndIf
If number >= 30
Gosub 继续任务
Gosub 卖宝
number=0
npcfile="bmp\npc5.bmp"
npc="路人"
x1=10:y1=10:x2=1020:y2=760
Gosub NPC对话
Else
Gosub 再次挑战
EndIf
// UnlockMouse
number=number+1
ttlCount=ttlCount+1
count80=count80 + 1
EndWhile
Rem 换帐户
Gosub 退出模块
num=num+1
If num > nummax
Plugin num=File.ReadINi("NumMax","numMin",filenM)
EndIf
EndWhile
//齿轮速度还原
KeyPress 106,1
Delay 200
Rem 结束
EndScript
///////////////////////////////////////////////////////
/// ////
/// 结束主程序 ////
/// ////
///////////////////////////////////////////////////////
//继续任务
Sub 继续任务
xx=2
While xx>0
IfColor 590,368,ffffff,0
xx=-1
Else
LeftClick 1
Delay 200
EndIf
Gosub 重新进入
EndWhile
MoveTo 636,470
Delay chbtime
LeftClick 1
xx=2
While xx>0
IfColor 590,368,ffffff,0
Delay chbtime
LeftClick 1
Delay chbtime
Else
xx=-2
EndIf
Gosub 重新进入
EndWhile
Return 继续任务
//再次挑战
Sub 再次挑战
xx=2
While xx>0
IfColor 590,368,ffffff,0
xx=-1
Else
LeftClick 1
Delay 200
EndIf
Gosub 重新进入
EndWhile
MoveTo 538,470
Delay chbtime
LeftClick 1
xx=2
While xx>0
IfColor 590,368,ffffff,0
Delay chbtime
LeftClick 1
Delay chbtime
Else
xx=-2
EndIf
Gosub 重新进入