Jump to content
Sign in to follow this  
6momo6

pixelsearch problem

Recommended Posts

6momo6

Hi all,

see topic name.

There is a slot machine game on a website, if you win you can double your points, i made a simple pixelsearch script, sometimes the script press correct (like 2-3 times - but most time i lose). How to get it correctly work, to get this script press always correct. Here is my Code:

HotKeySet("{ESC}","_Exit")

sleep(5000)

While 1
Dim $Variable = PixelSearch(580,444,785,444,0xEDCE00)
If IsArray($Variable) = True Then
MouseClick("left", 897, 677, 1, 1)
sleep(2345)
EndIf
WEnd

Func _Exit()
    Exit
EndFunc

thanx in advance

-momo

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.