Jump to content
Sign in to follow this  
critic1

What script should i use?

Recommended Posts

What script should i use if i need Color check ( check's if the ex. white colour is in one place ) and action IF it is there?

If somebody could give an example script would be greatfull.

Share this post


Link to post
Share on other sites

$x = 200
$y = 200

If Hex(PixelGetColor ( $x , $y),6) = "FFFFFF" then 
    Msgbox (0,"Winner","X coord " & $x & " and Y Coord " & $y & " is White")
Else
    Msgbox (0,"Damn","X coord " & $x & " and Y Coord " & $y & " is not White")
EndIf

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  

×
×
  • Create New...