Sign in to follow this  
Followers 0
h3now

PixelSearching

2 posts in this topic

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? :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0