我想在按键小精灵界面控制脚本里面脚本的循环次数,应该怎么弄呢?

2025-05-12 19:43:41
推荐回答(1个)
回答(1):

我想脚本加入循环按"空格"操作,没思路,请教该何写.
SetSimMode 2
Rem 始
IfColor 810, 180, "1A3169", 0 Then
MoveTo 810, 180
LeftClick 1
Delay 500
LeftClick 1
Goto 始
Else
Goto 经验
End If
Rem 经验
KeyPress "Tab", 1
IfColor 447,48,"211C08",0 Then
Delay 300
Goto 打怪
Else
Delay 300
Goto 始
End If
Rem 打怪
MoveTo 515, 675
Delay 300
LeftClick 1
IfColor 447,48,"211C08",0 Then
Delay 300
Goto 打怪
Else
Delay 300
Goto 始
End If