//KeyPress "Enter", 1 MoveTo intX, intY-50 LeftClick 1 End If End If End If End If //打据点 ,坐标为"确定"的坐标 MoveTo 497,396 Delay 500 MoveTo 497,596 Delay 1000 //ifcolor为触发事件时银英的蓝色眼睛 IfColor 382, 442, "CED773", (0) Then Delay 1000 LeftClick 1 End If //判断是否在自动行走 cr1 = GetPixelColor(0,19) Delay 500 cr2 = GetPixelColor(0, 19) If cr1 = cr2 Then KeyDown 17, 1 KeyPress 87, 1 KeyUp 17, 1 End If //End If