Jump to content

Autoit Triggerbot


Recommended Posts

I've been wondering if anyone could make an autoit triggerbot. Sorry for begging but I've searched everywhere! And for those of you who don't know what a triggerbot is, It's a program that will click the mouse (fire) button when a certain color shows up in the center of the screen.

Thanks in Advance

-Reaxku

Link to comment
Share on other sites

I've been wondering if anyone could make an autoit triggerbot. Sorry for begging but I've searched everywhere! And for those of you who don't know what a triggerbot is, It's a program that will click the mouse (fire) button when a certain color shows up in the center of the screen.

Thanks in Advance

-Reaxku

Well, I don't have enough time or the information to make a script for you, but what you could do is use PixelSearch() to find the color. Then use an if statement to see if that color is on the screen. If that color is on the screen, you can use Send() to send the firebutton to the program.
Link to comment
Share on other sites

I, on the other hand, have nothing better to take up my time apparently... :)

while 1 = 1
    sleep(50); Unnecessary, but keeps CPU load down - set to whatever value you like
    if PixelGetColor( 100, 100 ) = 16777215 Then 
        MouseClick(100, 100, 1, 1)
    EndIf
WEnd
Link to comment
Share on other sites

I, on the other hand, have nothing better to take up my time apparently... :)

while 1 = 1
    sleep(50); Unnecessary, but keeps CPU load down - set to whatever value you like
    if PixelGetColor( 100, 100 ) = 16777215 Then 
        MouseClick(100, 100, 1, 1)
    EndIf
WEnd
Why do we use "1 = 1" instead of declaring a variable? I've also seen "While 1".. any particular reason why?
Global $arr[2]

$arr[0]="hip"
$arr[1]="hip"
;^^ hip hip array. ^^
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...