Jump to content

More Looping Woes


Recommended Posts

$mob = PixelGetColor(577, 32)
  sleep(2000)
  While 1
  If $mob = 8712183 Then
  sleep(1500)
  EndIf
  Wend

I cant figure out how to make this loop infinite until it comes back that the color at the coordinate is no longer there and then move on with the rest of the script. If there wasa goto I could figure something out. Whats AU3's equal to goto?

Link to comment
Share on other sites

I cant figure out how to make this loop infinite until it comes back that the color at the coordinate is no longer there and then move on with the rest of the script. If there wasa goto I could figure something out. Whats AU3's equal to goto?

Hope the goto thing is a joke? :think:

The world has moved one you know;)

While (8712183 = PixelGetColor(577, 32))
  sleep(1500)
WEnd

EDIT: Formating came out all wrong.

Edited by Uten
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...