Need some Help with AHK

Hi all, i have a script to Play ret but ist dont work. It have a 50ms delay and use "q" and "w"... but when i start the script my Keybord dont work.

Can anybody help me and post me a script in this threat that i can use ?

Keys q and w with 50ms delay

Thank at all to help me

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

#ifWinActive World of Warcraft ; Only run if window ‘World of Warcraft’ is active
$2:: ; If e is pressed
$^2:: ; If e+control is pressed
$+2:: ; If e+shift is pressed
$!2:: ; If e+alt is pressed
Loop ; If any of the above is true then loop below
if not GetKeyState(“2”, “P”) ; If not pressed then break the loop
if GetKeyState(“LCtrl”, “P”) ; If left control is pressed then send control+e
Send ^2
else if GetKeyState(“LShift”, “P”) ; If left shift is pressed then send shift+e
Send +2
else if GetKeyState(“LAlt”, “P”) ; If left alt is pressed then send alt+e
Send !2
Send 2 ; If 2 is pressed with no other modifiers send 2
sleep 225 ; Time in milliseconds between key repeats

change the 2 to your Q key, copy/paste a 2nd {} for the W