What is MS and how can I change it? Answered (With working AHK script you can use with Modifiers)

i believe you will have to make a new script for a diffrent key.

1 Like

Thank you for your advice

1 Like

Hi

Im using your blood unholy dk macro

Plz teach me your dk ahk setting

my AHK I have set the same no matter which macro or toon I am using (of mine) my ms (or sleep time for AHK) is always 70

How about this

insert::

loop

{

send, {1}

sleep, 70

}

return

home::pause

return

Elfyau - could I please request some help from you…or anyone?

I play in a weird hand position and I’m trying to edit the below modifier macro. I’m basically looking to use BACKSLASH to spam 7 and then I want to use [ to spam a shift modifier within the same macro…is that possible?

( CODE )
#ifWinActive World of Warcraft ; Only run if window ‘World of Warcraft’ is active
{
$\:: ; If e is pressed (single slash, CODE screws up on forum)
$^[:: ; If e+control is pressed
$+]:: ; If e+shift is pressed
Loop ; If any of the above is true then loop below
{
if not GetKeyState("", “P”) ; If E is not pressed then break the loop
break
if GetKeyState("]", “P”) ; If left control is pressed then send control+e
Send ^7
else if GetKeyState("[", “P”) ; If left shift is pressed then send shift+e
Send +7
else
Send 7 ; If 7 is pressed with no other modifiers send 7
sleep 70 ; Time in milliseconds between key repeats
}
return
}
( CLOSE TAGS )

How would I modify this to add the 2 key with no mods? So that it will function as is with key 3 but also loop key 2 if I hold it down.

toggle = 0
#MaxThreadsPerHotkey 3
#ifWinActive World of Warcraft
{
$3:: ; If 3 is pressed
$^3:: ; If 3+control is pressed
$+3:: ; If 3+shift is pressed
$!3:: ; If 3+alt is pressed
Toggle := !Toggle
While Toggle{
if GetKeyState("LCtrl", "P")
Send ^3
else if GetKeyState("LShift", "P")
Send +3
else if GetKeyState("LAlt", "P")
Send !3
else
Send 3
sleep 70
}
return
}

Replace all of the 3’s with a 2

No I want to use it to loop 3 (with mods) AND be able to loop 2 without mods. 3 would be main macro and 2 would be an insta cast spam when i get a proc.

toggle = 0
#MaxThreadsPerHotkey 3
#ifWinActive World of Warcraft
{
$XButton2:: ; If XButton2 is pressed
$^XButton2:: ; If XButton2+control is pressed
$+XButton2:: ; If XButton2+shift is pressed
$!XButton2:: ; If XButton2+alt is pressed
Toggle := !Toggle
While Toggle{
if GetKeyState(“LCtrl”, “P”)
Send ^XButton2
else if GetKeyState(“LShift”, “P”)
Send +XButton2
else if GetKeyState(“LAlt”, “P”)
Send !XButton2
else
Send XButton2
sleep 20
}
return
}


Hey, i’m trying to make it so i can use my mouse button 5 as my spam macro but when i run the script and use it in-game all it does is open all menus, as you can see i changed all the 3’s but it doesn’t work… How can i fix this? please help.

How do i turn off the toggle window that shows up ingame?

I am still learning AHK so, if someone knows or you find out please let us know how you did it :slight_smile: cheers!

That is sending the letters. You want to use
Send {XButton2}

Can you post an image of the toggle window? I don’t see anything in the code that would produce a window.

Noob question. how would I use the macro in op with numpad1? I have tried {}} but it keeps erroring out.

Here is a list of keys.

1 Like

Off the original post I used {Numpad1} in place of the 3’s. I read somewhere that { and } allow ahk to use numpad. Is there still something I need to add in to make it work or should I just adjust to using other keys?

For the lines that start with a $, you replace 3 with Numpad1.
For the Send lines, you replace 3 with {Numpad1}.

Hi there. I’d like to modify this script (which is great btw) to include another button. I’m currently using it for number 1 and would like to add another macro to number 2 and would like to just be able to press the number 2 and have it fire off as well. Any help would be greatly appreciated!

Couple of questions.

  1. You just hold down the button while in game to activate the in-game macros, correct?

  2. Do you have to consider in-game ping when determining ms in autokey?

  3. Is just holding does the button allowable in wow? I am assuming the autokey macro will just spam only the button that is held down.

Hopefully answer you :slight_smile:

  1. yes
  2. yes but it is all trial and error
  3. an no its not against T&S :smiley: