Now the thing is can someone help me to add another function to this? i just want to add this particular feature like;
After pressing lmb once and hold it the script will activate the f key once like it always did but when i lift my finger and press lmb again it won't activate the script in that 4 seconds
cuz I'm spending one action point to enable the skill for this and its draining my limited ap's so i don't want to press it a few times again for nothing.
The skill is boosting my abilites and the enemy is not present all the time so i need this "don't activate the script in 4 seconds again and again" feature.
Code: Select all
~LButton::
Gosub, Key
SetTimer, Key, 4000
KeyWait, LButton
SetTimer, Key, Off
Return
Key:
Send f
Return
*PAUSE::
Suspend ;Suspend Hotkeys off/on
Pause,, 1 ;Pause Script off/on
Return