Sign in to follow this  
Followers 0
6momo6

pixelsearch problem

2 posts in this topic

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  
Followers 0