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
#2
How does autoloot list work..  noob here dont get it...
Reply
#3
(05-15-2022, 05:19 AM)loneKing Wrote: How does autoloot list work..  noob here dont get it...

replace listsofloots with the stuff u actually want to loot 
example

ListsofLoots := "@autoloot item 1111, @autoloot item 1112,@autoloot item 1113"

it also works to run multiple commands in quick succession
Reply
#4
(05-15-2022, 05:38 AM)Breakfast Kid Wrote:
(05-15-2022, 05:19 AM)loneKing Wrote: How does autoloot list work..  noob here dont get it...

replace listsofloots with the stuff u actually want to loot 
example

ListsofLoots := "@autoloot item 1111, @autoloot item 1112,@autoloot item 1113"

it also works to run multiple commands in quick succession
hi. Thx fr reply...
the download link no file inside  = https://gofile.io/d/5R8YZT
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)