Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Breakfast KidSpaming keys with Autohotkey~
#1
Where to Download Autohotkey:

https://www.autohotkey.com/

Basic Simple Scripts to spam skills:



1. Pressed Macro



As stated above this marco will work as u press the key. Ex. I want to autospam double stafe which atm is at my key e. All u have to do is hold e and it will spam the key and click for u till u let go of the selected key.

Quote:~E::
loop
{
GetKeyState, state, E,P
if state = U

break

Sleep, 17
send, {e}
sleep, 17
send, {Click, down}
sleep, 17
send, {Click, up}

}
return


2. Pressed Macro( W/O Click)



Useful for items or skills that do not require a mouse click.

Quote:~E::
loop
{
GetKeyState, state, E,P
if state = U

break

Sleep, 17
send, {e}

}
return


3. Toggled Macro

All u do is press your selected key and the macro will run for u. Press the selected key to turn off the macro.

Quote:#MaxThreadsperHotkey 2
~E::

Previouskey:= !PreviousKey

loop
{

if PreviousKey
{
Sleep, 17
send, {e}
sleep, 17
send, {Click, down}
sleep, 17
send, {Click, up}
}
else

break

}
return


4. Toggled Macro (w/o the key press)

Quote:#MaxThreadsperHotkey 2
~E::

Previouskey:= !PreviousKey

loop
{

if PreviousKey
{
Sleep, 17
send, {e}
}
else

break

}
return



5. Toggled Macro


1. switching gears via bm keys.

2. If u want to change were your gear will be in the bm keys just change F4-F8 in the script to what ever keys u want.

3. If u want to change activation button (default atm is end key) just change the end  word in beginning of script to whatever key u want.



Quote:~End::
loop, 5
{

Sleep, 17
send, {F4}
Sleep, 17
send, {F5}
Sleep, 17
send, {F6}
Sleep, 17
send, {F7}
Sleep, 17
send, {F8}

}
return



6. Autoloot List

Quote:~End::
listofLoots :=  "@autoloot item etc,@autoloot item etc,@autoloot item etc,@autoloot etc"
LootsArray := StrSplit(listofLoots, ",")

loop % LootsArray.MaxIndex()
{
this_aloot := LootsArray[A_Index]

sleep, 17
Send, %this_aloot%
sleep, 17
send, {enter}

}
return




Download:



https://gofile.io/d/5R8YZT



Will add more marcos as time goes on, will also listen to requests.
[+] 5 users Like Breakfast Kid's post
Reply


Messages In This Thread
Spaming keys with Autohotkey~ - by Breakfast Kid - 05-10-2022, 06:00 PM
RE: Spaming keys with Autohotkey~ - by loneKing - 05-15-2022, 05:19 AM
RE: Spaming keys with Autohotkey~ - by loneKing - 05-15-2022, 07:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)