While true IfColor 164,180,"D1A7F5",0 Then IfColor 830,420,"4EACE1",0 Then UserVar Var1=100 "等待时间" MoveTo 659, 437 Delay 250 LeftClick 1 Delay 250 MoveTo 517, 331 Delay 250 LeftClick 1 Delay 250 MoveTo 985, 482 Delay 2000 LeftClick 2 Delay 1000 Else End If Else Delay 5000 MessageBox "请最大化" EndScript End If Wend Event Form1.OptionBox1.Click SetSimMode 0 End Event Event Form1.OptionBox2.Click SetSimMode 1 End Event Event Form1.OptionBox3.Click SetSimMode 2 End Event Event Form1.InputBox1.Change UserVar Var1=100 "等待时间" End Event