Jump to content

Recommended Posts

Baisically I am trying to make a autoclicker for this game and want to know if i am i

shoooting in the dark is there any possible way for this script or any other script to autoclick on this game.



MsgBox(10000, "", "This won't be executed")

MsgBox(10000, "", "Or this")


;;; #cs

MsgBox(4096, "", "Autoclicker 1.0 will now start!")


Global $Paused

HotKeySet("{PAUSE}", "TogglePause")

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

While 1

MouseClick("left", 130, 234, 5)


Func TogglePause()

$Paused = NOT $Paused

While $Paused


ToolTip('Script is "Paused"',0,0)




Func Terminate()

Exit 0


Can i have your opinions please!


Edited by tang
Link to post
Share on other sites
  • Moderators

While 1

MouseClick("left", 130, 234, 5)


With that there is no need to tell it to click 5 times, because it will never stop clicking.

There are a few things you need to look at:

1. Opt("MouseCoordMode", 0 or 1 or 2) ; based on window/screen/client coords pick one not all 3.

2. Opt("WinTitleMatchMode", 1 to 4) ; read help for answers

3. Define your window in a variable: example: $WINDOW = "King whatever"

4. Make it a condition on it clicking using an if or case statement

Example: If $Condition_One <> Something Then MouseClick()

5. Look at WinActive / WinActivate in the help file

While 1

If $Condition_One = True Then ; This is not a real statement

If Not WinActive($WINDOW) Then WinActivate($Window)

MouseClick(("left", 130, 234, 5)


Sleep(100); give cpu a rest


Good Luck

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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