Jump to content

pixelsearch problem


Recommended Posts

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

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