Hwnd = Plugin.Window.Find(0, "寻仙 - 安徽区 - 紫岚山 : 版本号2.3.5.1") Call Plugin.Window.Active(Hwnd) Rem 寻怪 Call Plugin.Bkgnd.KeyPress(Hwnd, 81) Delay 700 Rem 接着打怪 IfColor 328,103,"ED",0 Then MoveTo 46, 977 LeftClick 1 Delay 1000 Call Plugin.Bkgnd.KeyPress(Hwnd, 49) Delay 700 Call Plugin.Bkgnd.KeyPress(Hwnd, 50) Delay 700 Call Plugin.Bkgnd.KeyPress(Hwnd, 51) Delay 700 Call Plugin.Bkgnd.KeyPress(Hwnd, 52) Delay 700 Goto 接着打怪 Else Call Plugin.Bkgnd.KeyPress(Hwnd, 90) Delay 500 Call Plugin.Bkgnd.KeyPress(Hwnd, 90) Goto 寻怪 End If