My personal script is as follows. Just repeat and rewrite the code blocks for different keys.
#ifWinActive World of Warcraft ; Only run if window ‘World of Warcraft’ is active
SetTimer, PressKey1, 10
$1:: ; If 1 is pressed
$^1:: ; If 1+control is pressed
$+1:: ; If 1+shift is pressed
$!1:: ; If 1+alt is pressed
$+^1:: ; If 1+shift+control is pressed.
If (toggle1 := !toggle1)
{
toggle2=0
Random slp,25,125
Sleep slp
Gosub PressKey1
}
Return
PressKey1:
If toggle1
{
if GetKeyState(“LCtrl”, “P”) && GetKeyState(“LShift”,“P”) ; If left control is pressed then send control+shift+1
Send ^+1
else if GetKeyState(“LCtrl”, “P”) ; If left control is pressed then send control+1
Send ^1
else if GetKeyState(“LShift”, “P”) ; If left shift is pressed then send shift+1
Send +1
else if GetKeyState(“LAlt”, “P”) ; If left alt is pressed then send alt+1
Send !1
else
Send 1 ; If 1 is pressed with no other modifiers send 1
return
}
Any use of AHK/GHub/Corsair etc is currently cause to have you account banned. Now these bans are not automated. How you use this can have bearing on whether you get banned or not. There are some things you can do to minimise this happening. Running no faster than 250ms is one. not using toggles on your macro but rather holding the key down is another. It also depends on how a GM interprets the rules and what you are doing at the time and how they feel.
Having said that it still doesn’t change the fact that by using these third party tools you are playing Russian roulette with your account. “It’s never happened to me so it must be fine” is the dumbest form of ignorance and stupidity and seems to be common on this forum. If the gun goes bang while facing you, you only have yourself to blame.
Any one know how to make this 100ms keybind on iQUE for corsair keyboard and mouse ive got the sicmentar mmorpg mouse ive got keybinds working on it for normal roation like 12345678 on the mouse i dont know how to do it i wuldt relly like to try
hi, i think im doing it correctly,
ive installed Ahk , right click destop , new , autohotkey script , comes up with a small image on my desktop, i copy and paste the scipt up top and save, when i click run script and gets an error message and closes down
what does the “e” part mean in the script? for example, if I was to reference the line “If e+control is pressed” does that mean I would have to press the e key and the control key for the mod to work?
Basically what I am trying to achieve with my playstyle is:
My gse script is set to be used on keypress/ button 1 and when I use the alt key I would like to interrupt any casts and just fire off whatever mod is attached to the alt key. Currently, when I hold down the alt key, the cast finishes first then the mod fires off? Am I doing something wrong or is this not the intention of this script?
Sorry if all that sounds confusing but I am just trying to figure it out. Below is my current script (edited, or so I thought) to work with keys 1-4. It’s probably all wrong yeah?
#ifWinActive World of Warcraft ; Only run if window 'World of Warcraft' is active
{
$1:: ; If 1 is pressed
$^1:: ; If 1+control is pressed
$+1:: ; If 1+shift is pressed
$!1:: ; If 1+alt is pressed
Loop ; If any of the above is true then loop below
{
if not GetKeyState("1", "P") ; If 1 is not pressed then break the loop
break
if GetKeyState("LCtrl", "P") ; If left control is pressed then send control+1
Send ^1
else if GetKeyState("LShift", "P") ; If left shift is pressed then send shift+1
Send +1
else if GetKeyState("LAlt", "P") ; If left alt is pressed then send alt+1
Send !1
else
Send 1 ; If 1 is pressed with no other modifiers send 1
sleep 250 ; Time in milliseconds between key repeats
}
return
$2::
Loop
{
if not GetKeyState("2", "P")
break
Send 2
sleep 250
}
return
$3::
Loop
{
if not GetKeyState("3", "P")
break
Send 3
sleep 250
}
return
$4::
Loop
{
if not GetKeyState("4", "P")
break
Send 4
sleep 250
}
return
}
@GamerGirl To be honest I do not have much of an idea about AHK scripting, but from what little I know it looks correct. That said I believe most of your problem may come from the GSE scripts themselves as some of the lines/commands may contain the [nochanneling] command, which in itself will stop it from being interrupted even if you use a different macro or button.
I’d say it sounds like a macro issue not an AHK issue. Each button press tells WoW to send a stack of commands called an action to WoW to execute. If your alt option is not overriding the macro the. I would suggest that this is not coded correctly into the action.