Jump to content

PixelSearching


h3now
 Share

Recommended Posts

I was trying to make a script that would search for a certain color in a certain place of my monitor, if the color was found then it would continue to the other part of the code, if not, then it would search again for that color (infinitely). I don't know what I'm doing wrong, here's the code:

CODE

pixelsearch(636,90,637,91,0x11052948,0)

While @error=1

pixelsearch(636,90,637,91,0x11052948,0)

sleep(100)

WEnd

Send("7")

This is something like: search for the pixel, if it wasn't found then loop the code between the while statement, after that run the "Send" code.

Any suggestions? :)

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...