kazhkaz Posted January 4, 2006 Posted January 4, 2006 Hello everbody this is me again i want to ask simple question Thats only a part of my script If PixelGetColor(489,175) == 0x5C8F1A Then MouseClick("left", 756, 510, 1, 1) EndIf I want that this part of script will wait until PixelGetColor(489,175) == 0x5C8F1A and then MouseClick() what should i write that it do what i want thanks
seandisanti Posted January 4, 2006 Posted January 4, 2006 Hello everbody this is me again i want to ask simple question Thats only a part of my script If PixelGetColor(489,175) == 0x5C8F1A Then MouseClick("left", 756, 510, 1, 1) EndIf I want that this part of script will wait until PixelGetColor(489,175) == 0x5C8F1A and then MouseClick() what should i write that it do what i want thanks soooo many smilies.... sorry, that just makes for a very bright (literally) post. try this: While PixelGetColor(489,175) <> 0x5C8F1A Then Sleep(10) WEnd MouseClick("left", 756, 510, 1, 1)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now