Hello, I'm trying to figure out how to make a simple triggerbot that clicks when it finds a certain color within a box but I'm not sure how to make it click when it finds the color.
For example, I want to make it shoot when the crosshair is green and I want to make it search within this box I made: [Only registered and activated users can see links. Click Here To Register...]
The script I have so far is
For example, I want to make it shoot when the crosshair is green and I want to make it search within this box I made: [Only registered and activated users can see links. Click Here To Register...]
The script I have so far is
I'm new to autoit and I'm not really sure what I should do.Quote:
While 1
PixelSearch ( 925, 505, 994, 573, 0x42BB1B, 10 )
if Not @error Then
MouseClick("left")
EndIf
WEnd