Jump to content
Sign in to follow this  
lolp1

How could I?

Recommended Posts

Hello,

I was wondering if doing this is possible.

I want to do:

PixelGetColor( X , X )

And if the pixel colorcomes back as 0x5A0000 I would like it to send("1") How would I do this?

Share this post


Link to post
Share on other sites

If PixelGetColor ( x , y ) = 0x5A0000 Then send("1"); change x & y for real coordinates


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites

This version does the same as your version... just for comparison :ph34r:

Do
    Sleep(10)
Until PixelGetColor($x, $y) = 0x5A0000
Send("1")
I think, I overthink. Lol, I try to get something simple, then, end up making it the worst way. :lmao:

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

To put it on a endless loop would I just:

While 1
$x = 76
$y = 462

Do
    Sleep(10)
Until PixelGetColor($x, $y) = 0x8C7D52
Send("1")
Wend

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...