Jump to content
Sign in to follow this  
viper3000

if then color help

Recommended Posts

viper3000

ok here wut i need

ok i need the pixel at cords 148, 749 to click at the same cords 15 seconts after it sees the color 0xffcb39 (yellow)

but i need it to wate till the color is there

i semi understand the

if

ifnot

commands i thing

it is kinda confuzing really if some 1 can point my to a tutthat would explan this it woul be grate

this is a part of a larger script but if i can figer this out i can wright the rest

then i will post the final cut and take any advice to clean it up

thx in advance

Share this post


Link to post
Share on other sites
viper3000

this is kinda wut i want but im not sure what to plug in where and i just want clicks not message boxes

i want it to =

if color = 0xffcb39 @ 148, 749 wate 15 seconts and click @ same cords

if not wate till color = 0xffcb39 then click cords 148, 749 after 15 seconts

$var= 148, 749 = 0xffcb39

If $var > 0 Then
    MsgBox(4096,"", "Value is positive.")
ElseIf $var < 0 Then
    MsgBox(4096,"", "Value is negative.")
Else
    If StringIsXDigit ($var) Then
        MsgBox(4096,"", "Value might be hexadecimal!")
    Else
        MsgBox(4096,"", "Value is either a string or is zero.")
    EndIf
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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.