Jump to content

Another PixelSearch After?


Reptos
 Share

Recommended Posts

While 1
    $cords = PixelSearch(564, 188,710, 350,0x380030)
   If Not (@error) Then
      MouseClick("Left",$cords[0],$cords[1],1,1)
      ExitLoop
   EndIf
WEnd
Sleep(100)
While 1
    $cords = PixelSearch(564, 188,710, 350,0x380030)
   If Not (@error) Then
      MouseClick("Left",$cords[0],$cords[1],1,1)
      ExitLoop
   EndIf

WEnd

o:)

Edited by kaisies
Link to comment
Share on other sites

While 1
    $cords = PixelSearch(564, 188,710, 350,0x380030)
   If Not (@error) Then
      MouseClick("Left",$cords[0],$cords[1],1,1)
      ExitLoop
   EndIf
WEnd
Sleep(100)
While 1
    $cords = PixelSearch(564, 188,710, 350,0x380030)
   If Not (@error) Then
      MouseClick("Left",$cords[0],$cords[1],1,1)
      ExitLoop
   EndIf

WEnd

o:)

Yup perfect! Now what would i do for it to repeat back to the top after the whole script is done

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...