Jump to content

If Than Endif repeat HELP!


TAScott
 Share

Recommended Posts

Sleep(2000)

MouseMove(616,515)

MouseDown("left")

MouseUp("left")

Sleep(5000)

MouseMove(919,665)

MouseDown("left")

MouseUp("left")

sleep(500)

MouseMove(890,577)

MouseDown("left")

MouseUp("left")

sleep(10000)

$Color = PixelGetColor(850,640)

if Hex($Color,6) = 0xDD0000 or 0xFF0000 or 0xEE0000 or 0xCC0000 or 0xBB0000 or 0xAA0000 Then

; do MouseMove(619,361)MouseDown("left")MouseUp("left")MouseMove(644,308)MouseDown("left")MouseUp("left")Sleep(10000)

EndIf

I want that If then statement to keep on repeating until.......... if Hex($Color,6) = 0x181818,,,, That happens ??, how do i do that?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...