PU=PU+1 
i=0
While i=0
FindColor 0,0,1024,768,"939AAE",intX,intY
If intX > 0 And intY > 0 Then
i=1
MoveTo intX,intY
        LeftDoubleClick 1
End If
Wend
Delay 打怪速度
Next
    //下面这句是直接对屏幕进行刷新清除   
    Call Plugin.Msg.HideScrTXT()   
    //延迟半秒等待刷新完毕   
    Delay 500   
    //下面这句是在屏幕上范围位置(0, 0, 1024, 100)进行输出内容("谢谢大家对凭空脚本的支持、谢谢~")
    Call Plugin.Msg.ShowScrTXT(100,100, 900, 200, "军功任务刷怪结束!  "&PU, "8D65CF")
    //延迟半秒可以让你看的清楚   
    Delay 500   
    PU=PU+1   

Delay 延时时间
    //下面这句是直接对屏幕进行刷新清除   

    Call Plugin.Msg.HideScrTXT()   

    //延迟半秒等待刷新完毕   

    Delay 500   

    //下面这句是在屏幕上范围位置(0, 0, 1024, 100)进行输出内容("谢谢大家对凭空脚本的支持、谢谢~")

    Call Plugin.Msg.ShowScrTXT(100,100, 900, 200, "军功任务开始!  "&PU, "8D65CF")
    //延迟半秒可以让你看的清楚   

    Delay 500   

    PU=PU+1 

i=0
While i=0
FindColor 0,0,1024,768,"FFF000",intX,intY
If intX > 0 And intY > 0 Then
i=1
MoveTo intX,intY
LeftClick 1
End If
Wend
Delay 延时时间
i=0
While i=0
FindColor 0,0,1024,768,"475684",intX,intY
If intX > 0 And intY > 0 Then
i=1
MoveTo intX,intY
LeftClick 1
End If
Wend
Delay 延时时间
i=0
While i=0
FindColor 0,0,1024,768,"71A4D0",intX,intY
If intX > 0 And intY > 0 Then
i=1
MoveTo intX+40,intY
LeftClick 1
End If
Wend
Delay 延时时间
i=0
While i=0
FindColor 0,0,1024,768,"FFFAB4",intX,intY
If intX > 0 And intY > 0 Then
i=1
MoveTo intX,intY
LeftClick 1
End If
Wend
Delay 延时时间
i=0
While i=0
FindColor 0,0,1024,768,"FFFAB4",intX,intY
If intX > 0 And intY > 0 Then
i=1
MoveTo intX,intY
LeftClick 1
End If
Wend
Delay 延时时间
i=0
While i=0
        FindColor 0,0,1024,768,"6A5DB3",intX,intY
If intX > 0 And intY > 0 Then
i=1
MoveTo intX,intY
LeftClick 1
End If
Wend
    Delay 延时时间