热血江湖打手脚本的问题

来源:百度知道 编辑:UC知道 时间:2024/05/25 16:38:19
这个脚本无法重复进行,添生么语句能让他重复进行?
MoveTo 1023 312
Delay 400
MoveTo 468 435
Delay 400
LeftDoubleClick 1
Delay 800
IfColor 75 5 001cff 2
Else
KeyPress 114 1
Delay 300
EndIf
IfColor 55 18 734d4a 2
KeyPress 115 1
Delay 400
EndIf
KeyPress 120 1
Delay 100
Rem 程序开始
KeyPress 120 1
hhjg=hhjg+1
VBSCall Call ReadMemory(&h144BDCC,1,redmax)
VBSCall Call ReadMemory(&h144BDC0,1,red)
VBSCall Call ReadMemory(&h144BDD0,1,bluemax)
VBSCall Call ReadMemory(&h144BDC4,1,blue)
redb1=redmax/100*16
redb0=redmax/100*23
redbj=redmax/100*60
blueba=bluemax/100*60
bluebb=bluemax/100*80
bluebj=bluemax/100*30
If red<redb0
KeyPress 118 1
Delay 90000
EndIf
If red<redb1
KeyPress 118 1
Delay 90000
EndIf
If blue<blueba
KeyPress 116 1
Delay 400
EndIf
If blue<bluebb

晕哦,楼主,你好粗心哦~

你看看最后一个词:“循环结束”,你把循环结束写进脚本当然会停啊``把这段词删老就行了

咋个感觉有些不完整,跳转标记也米对,这脚本少个标记!他跳转程序开始,那上面那段MoveTo 1023 312
Delay 400
MoveTo 468 435
Delay 400
LeftDoubleClick 1
Delay 800
IfColor 75 5 001cff 2
Else
KeyPress 114 1
Delay 300
EndIf
IfColor 55 18 734d4a 2
KeyPress 115 1
Delay 400
EndIf
KeyPress 120 1
Delay 100
就没用了,你应该在开头再加个标记,然后跳转到该标记上

以后这种问题的提问者,请加悬赏分!

在按键上点那个重复匡点选了就行了。