Jump to content

Recommended Posts

Hi @ all, i am new to this forum and beginner in scripting. I already created some simple stuff in the past, but forgot the most of it. :)

At the moment i was working on this simple script and would like to ask for a little bit of help.

It is a simple PixelGetColor query with a subsequent action if the color has changed. I tried different modifications but its not working. Would be greatfull if somebody could give a hand , thanks

HotKeySet("{ESC}", "StopBot")
Tooltip ("ESC= Stop", 1140, 540,"Hotkeys")
While 1

sleep(500);check every half a second
if $pix <> $pix2 then
Send( "{q}" )
until $quit=true
func quit()
Func StopBot()
Exit 0
Edited by dirtyOglum
Link to post
Share on other sites
  • Developers

Welcome, Make sure you read the forum rules before we continue here because the clearly is a Game related bot.

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
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...