Delay 2000

FindPic 0,0,1024,768,"Attachment:\演义.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
    Delay 1000
    LeftClick 1
END if
Delay 1000
FindPic 0,0,1024,768,"Attachment:\颜良文丑营.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intx,inty
    Delay 1000
    LeftClick 1
End If
Delay 1000
FindPic 0,0,1024,768,"Attachment:\777.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intx,inty
    Delay 1000
    LeftClick 1
End If
Delay 1000
i=0
While i=0
FindPic 0,0,1024,768,"Attachment:\77.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
        i=1
MoveTo intx, inty
    Delay 1000
    LeftClick 1
End If
    Wend
Delay 2000

FindPic 0,0,1024,768,"Attachment:\演义.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
    Delay 1000
    LeftClick 1
END if
Delay 1000
FindPic 0,0,1024,768,"Attachment:\袁绍先锋.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intx,inty
    Delay 1000
    LeftClick 1
End If
Delay 1000
FindPic 0,0,1024,768,"Attachment:\777.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intx,inty
    Delay 1000
    LeftClick 1
End If
Delay 1000
i=0
While i=0
FindPic 0,0,1024,768,"Attachment:\77.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
        i=1
MoveTo intx, inty
    Delay 1000
    LeftClick 1
End If
    Wend