1.
Code: Select all
#NoEnv
#UseHook
#InstallKeybdHook
#SingleInstance, force
#Persistent
f11::Suspend
f1::
SendInput, C
Sleep, 100
SendInput, C
Sleep, 75
return
This is the script which I am using. It triggers the item and then turns it off again instantly in the game but this only happens once my hero is not doing anything else. Is there any way to make it so that it triggers instantly while also doing the current action in game?
2.
Code: Select all
q::
SendInput, X
Sleep, 25
SendInput, X
Sleep, 25
SendInput, Q
Sleep, 250
SendInput, X
Sleep, 100
return
This script is useful when using abilities in game as it saves resources. however this does not trigger instantly, for eg. if i am targeting a hero from distance then it would trigger the script when i actually reach the place where my mouse is. is there any way to make it so that it triggers instantly where my mouse is?