麻烦问下各位大哥大姐按键精灵脚本的问题哈,我的脚本怎么不能正常运行呢,请问是哪里错误哟,该如何修改哈?
[General]
Description=毒腹
BeginHotkey=121
BeginHotkeyMod=0
PauseHotkey=0
PauseHotkeyMod=0
StopHotkey=122
StopHotkeyMod=0
RunOnce=0
EnableWindow=众神之战Online [一区电信]
Enable=1
AutoRun=0
[Repeat]
Type=1
Number=1943232333
[Relative]
SetupOCXFile=
[Comment]
Content=
[Script]
For 999999999
Delay 1000
IfColor 112,60,5a8aff,1 #检测血量
Delay 10000
MoveTo 516,443 #复活按钮
Delay 1000
LeftClick 1
Delay 1000
MoveTo 474,440 #确定复活
Delay 1000
LeftClick 1
Delay 15000
KeyPress 77,1 #开地图
Delay 2000
MoveTo 622,433 #挂机点
Delay 2000
LeftClick 1
Delay 30000
KeyPress 123,1 #挂机
Delay 1000
KeyPress 77,1 #关地图
Else
KeyPress 81,1 #任务栏
MoveTo 205,382 #检测任务完成情况
Delay 1000
IfColor 205,382,0000ff,1 #如果任务完成
MoveTo 205,382 #点任务
Delay 1000
LeftDoubleClick 1
Delay 1000
MoveTo 58,682 #点NPC名字
Delay 1000
LeftDoubleClick 1
Delay 1000
LeftDoubleClick 1
Delay 30000
KeyPress 81,1 #关任务栏
Delay 2000
MoveTo 488,305 #点NPC
Delay 1000
LeftDoubleClick 1
Delay 1000
MoveTo 178,331 #交任务
Delay 1000
LeftClick 1
Delay 1000
MoveTo 269,627
Delay 1000
LeftClick 1
Delay 1000
MoveTo 488,305 #点NPC
Delay 1000
LeftDoubleClick 1
Delay 1000
MoveTo 178,331 #接任务
Delay 1000
LeftClick 1
Delay 1000
MoveTo 269,627
Delay 1000
LeftClick 1
Delay 1000
KeyPress 77,1 #开地图
Delay 2000
MoveTo 534,450 #点挂机点
Delay 2000
LeftClick 1
Delay 30000
KeyPress 123,1 #开始挂机
Delay 1000
KeyPress 77,1 #关地图
Else
KeyPress 123,1 #关任务栏
Delay 1000
KeyPress 81,1 #开始挂机
Delay 20000
EndIf
EndIf
EndFor