Sign in to follow this  
Followers 0
ReaxkuTheFox

Autoit Triggerbot

6 posts in this topic

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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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. ^^

Share this post


Link to post
Share on other sites

While 1 and While 1 = 1 are both the same. They are both endless loops. At least until the script exits.

Share this post


Link to post
Share on other sites

While 1 and While 1 = 1 are both the same. They are both endless loops. At least until the script exits.

Gotcha. Thanks. Sorry for going offtopic a bit.


Global $arr[2]

$arr[0]="hip"
$arr[1]="hip"
;^^ hip hip array. ^^

Share this post


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
Sign in to follow this  
Followers 0