Hello,
Im been goggling a lot but I can’t find a script for spamming F2 and with ms 150… Is there anyone who can make a script so I can spam F2 in game ? The other script I have for spamming 1-3 won’t work….
Hello,
Im been goggling a lot but I can’t find a script for spamming F2 and with ms 150… Is there anyone who can make a script so I can spam F2 in game ? The other script I have for spamming 1-3 won’t work….
What does your script look like for keys 1-3?
Got 2 i use , and it aint mine i cant make And i need one for F2
1:
#NoEnv
SetWorkingDir %A_ScriptDir%
SendMode Input
#SingleInstance Force
#MaxThreadsPerHotkey 2
;; ------------------
;; 1st Toggle Key |
;; ------------------
;; Set your DELAY, in ms.
DelayA := 150
;; Set the key you want to press to start spam.
KeyToPressA = 1
;; Set the key you want AHK to spam.
KeyToSpamA = 1
;; ------------------
;; 2nd Toggle Key |
;; ------------------
;; Set your DELAY, in ms.
DelayB := 150
;; Set the key you want to press to start spam.
KeyToPressB = 2
;; Set the key you want AHK to spam.
KeyToSpamB = 2
;; ------------------
;; 3rd Toggle Key |
;; ------------------
;; Set your DELAY, in ms.
DelayC := 150
;; Set the key you want to press to start spam.
KeyToPressC = 3
;; Set the key you want AHK to spam.
KeyToSpamC = 3
;; #################################
;; MAIN
;; #################################
Hotkey, IfWinActive, World of Warcraft ;; enabled only in WoW
Hotkey, *$%KeyToPressA%, LabelA
Hotkey, *$%KeyToPressB%, LabelB
Hotkey, *$%KeyToPressC%, LabelC
return
ToggleA := 0
ToggleB := 0
ToggleC := 0
LabelA:
If(ToggleA) {
ToggleA := 0
Progress, Off
SetTimer, SpamKeyA, Off
SetTimer, SpamKeyB, Off
SetTimer, SpamKeyC, Off
} Else {
ToggleA := 1
ToggleB := 0
ToggleC := 0
;; PROGRESS WINDOW
Progress, M B1 X1325 Y675 C1 W75 ZH-5 ZX0 ZY0 FM0 FS25 WM1 WS600 CT40FF06 CW000000, ON1,ON1,Verdana
SetTimer, SpamKeyB, Off
SetTimer, SpamKeyC, Off
SetTimer, SpamKeyA, %DelayA%
}
return
LabelB:
If(ToggleB) {
ToggleB := 0
Progress, Off
SetTimer, SpamKeyA, Off
SetTimer, SpamKeyB, Off
SetTimer, SpamKeyC, Off
} Else {
ToggleB := 1
ToggleA := 0
ToggleC := 0
;; PROGRESS WINDOW
Progress, M B1 X1325 Y712 C1 W75 ZH-5 ZX0 ZY0 FM0 FS25 WM1 WS600 CT40FF06 CW000000, ON2,ON2,Verdana
SetTimer, SpamKeyA, Off
SetTimer, SpamKeyC, Off
SetTimer, SpamKeyB, %DelayB%
}
return
LabelC:
If(ToggleC) {
ToggleC := 0
Progress, Off
SetTimer, SpamKeyA, Off
SetTimer, SpamKeyB, Off
SetTimer, SpamKeyC, Off
} Else {
ToggleC := 1
ToggleA := 0
ToggleB := 0
;; PROGRESS WINDOW
Progress, M B1 X1325 Y747 C1 W75 ZH-5 ZX0 ZY0 FM0 FS25 WM1 WS600 CT40FF06 CW000000, ON3,ON3,Verdana
SetTimer, SpamKeyA, Off
SetTimer, SpamKeyB, Off
SetTimer, SpamKeyC, %DelayB%
}
return
;; blind mode to send modifiers
SpamKeyA:
Send, {Blind}{%KeyToSpamA%}
return
SpamKeyB:
Send, {Blind}{%KeyToSpamB%}
return
SpamKeyC:
Send, {Blind}{%KeyToSpamC%}
return
;; #################################
;; CONTROLS
;; #################################
^PgDn::Suspend ;; Ctrl + PageDown to suspend script (if you want to chat)
^PgUp::Reload ;; Ctrl + PageUP to reload script
^End::ExitApp ;; Ctrl + End to terminate script
2:
#MaxThreadsPerHotkey 2
#IfWinActive World of Warcraft ;; enabled only in WoW
Toggle := 0
$1::
Toggle := !Toggle
While Toggle {
Send, {Blind}{1} ;; blind mode to send modifiers
Sleep, 150
}
return
#IfWinActive ;; disable WoW context sensitivity
^PgDn::Suspend ;; Ctrl + PageDown to suspend script (if you want to chat)
^PgUp::Reload ;; Ctrl + PageUP to reload script
^End::ExitApp ;; Ctrl + End to terminate script
going to add this and you can take the warning or not. Blizzard just did a round of perma bans last 24 hours. one of our creators was on that list for running faster than 250ms. so be careful if you plan to keep running faster than that.
add into the top after the button 3 section this should work:
;; ------------------
;; 4th Toggle Key |
;; ------------------
;; Set your DELAY, in ms.
DelayC := 150
;; Set the key you want to press to start spam.
KeyToPressC = {F2}
;; Set the key you want AHK to spam.
KeyToSpamC = {F2}
Tnx But i want A new script only for (one) key and only for F2 :)do got one ?
Want to type and not worry about it spamming the chat :))