Jump to content

Help with triggerbot script - (Moved)


Recommended Posts

there is a script of this kind

HotKeySet ("{F1}","_Pause" )
HotKeySet ("{F2}","_NotPause")
HotKeySet("{F7}", "_Exit")
Global $Paused
Func _Pause()
$Paused = True
While $Paused
WEnd
EndFunc
Func _NotPause()
$Paused = False
EndFunc
While 1
$Variable = PixelSearch(937,515,982,562,0x0FCE0A)
If IsArray($Variable) = True Then
MouseClick("LEFT")
EndIf
WEnd
Func _Exit()
Exit
EndFunc

the color is checked (0x0FCE0A) in the specified area (937,515,982,562) the color is green, but transparency is present. How to check for the entire range of green? I will be glad if you help.

Edited by Jos
Link to post
Share on other sites
  • Jos changed the title to Help with triggerbot script
  • Developers
Posted (edited)

This is an English only forum so please use google translate in case you don't know English.
Moved to the appropriate forum.

So, what is this script used for?

Moderation Team

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...