Jump to content

Little help plz


Recommended Posts

Messing with simple script... (I am a simple minded guy)

CODE
Func GY()

$Dead = PixelSearch($GY1, $GY2, $GY3, $GY4, $C2, $v)

If Not @error Then

$Dead = 0

If @error Then

$Dead = 1

If $Dead = 1 Then

Sleep Until $Dead = 0 ; <== this is the line I need help fixing

EndIf

EndIf

EndIf

EndFunc

Thanks in advance guys hope I didn't mess this all up....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...