Jump to content

Recommended Posts

Posted (edited)

yerr, topic says something about my question...

pixelsearch searches closest spot from the other corner, but i want it to move the mouse a bit from the spot i make lil sample

it clicks to * but i want it to click 0 is that possible somehow?

*xxxxxxxxxxxxx

xxxxxxxxxxxxxx

xxxxoxxxxxxxxx

xxxxxxxxxxxxxx

xxxxxxxxxxxxxx

my script:

$i = 99999999

do
$coord = PixelSearch( 151, 284, 789, 643, 0x582C53, 10 )
If Not @error Then
MouseClick("left", $coord[0],$coord[1], "1")
EndIf
until $i = 99439429344392432
Edited by zutto
Posted

add some coord to your mouseclick:

MouseClick("left", $coord[0]+10,$coord[1]+10, "1");+10 = mouse will click 10 pixels to the right and 10 pixels downwards from the found pixel color
omg ty!

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
×
×
  • Create New...