Last but not least I would like to deactivate the key aslong as the spellcooldown is not back. For example if I press F12 and 5 seconds later I press F12 by accident again the timer will start from the beginning or not even trigger since of the sleep.
I dont know much I would really appreciate help. Thats what I got currently.
Code: Select all
$F12::
Send {F12}
SetTimer, UE, 40000
sleep, 40000
SoundPlay, C:\Users\Dennis\Desktop\sounds\UEfemale.mp3
Return
$Delete::
Send {Del}
SetTimer, UE, 190000
sleep, 190000
SoundPlay, C:\Users\Dennis\Desktop\sounds\Magicshield.mp3
Return
$F8::
Send {F8}
SetTimer, UE, 8000
sleep, 8000
SoundPlay, C:\Users\Dennis\Desktop\sounds\energywave.mp3
Return