Hwnd = Plugin.Window.Find(0, "地下城与勇士") Call Plugin.Window.Move(Hwnd, 0, 0) Rem a GetColor = GetPixelColor(170, 297) If GetColor = "3152D6" Then KeyPress "A", 1 ElseIf GetColor = "9CB57B" Then KeyPress "S", 1 ElseIf GetColor = "CE9C42" Then KeyPress "D", 1 ElseIf GetColor = "081029" Then Delay 10 KeyPress "A", 1 Delay 10 KeyPress "A", 1 Delay 10 KeyPress "A", 1 End if Goto a