Script help!

Ask gaming related questions (AHK v1.1 and older)
PeanutHead42
Posts: 1
Joined: 15 May 2018, 08:05

Script help!

15 May 2018, 08:18

Hello all,

I am trying to make a script but they never seemed to be working properly.
Can someone help me make a script of below:

press c to use buff and wait 3 sec
{
press PG DN to use buff and wait 1 sec.

press down and hold control key for 60 sec.

press left arrow key for 1 sec.
press right arrow key for 1 sec.
}

I just want this to spam over and over again.

Please help.

Thank you :D
Louis Tully
Posts: 42
Joined: 25 Apr 2018, 03:03

Re: Script help!

15 May 2018, 15:37

PeanutHead42 wrote:Hello all,

I am trying to make a script but they never seemed to be working properly.
Can someone help me make a script of below:

press c to use buff and wait 3 sec
{
press PG DN to use buff and wait 1 sec.

press down and hold control key for 60 sec.

press left arrow key for 1 sec.
press right arrow key for 1 sec.
}

I just want this to spam over and over again.

Please help.

Thank you :D



I'm not really following what you're saying 100%. Does this work for you or do you want to press the left and right arrows while control is being held down for 60 seconds?

Code: Select all

$c::

Send {c}                        ;    press c to use buff 
sleep, 3000                   ;    wait 3 sec
Send  {PgDn}                 ;    press PgDn to use buff
sleep, 1000                    ;   wait 1 sec
Send {Down}                 ;   press down
Send {Control Down}      ;   hold control for 60 sec
sleep, 60000                  
Send {Control Up}
Send {Left Down}           ;   press left arrow key for 1 sec
sleep, 1000
Send {Left Up}
Send {Right Down}         ;   press right arrow key for 1 sec
sleep, 1000
Send {Right Up}
return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: jameswrightesq and 152 guests