Quick-switch fire
A CSGO macro made in AHK
This feature allows you to do a quick switch to a knife and back to your weapon after fire.
This is to avoid double scoping with snipers or just for the satisfying feeling.
When the toggle hotkey is pressed ( P in this case), the script will play 15.mp3 from the "sounds" folder to inform that the feature is activated. After that, pressing mouse 4 will cause you to fire your current weapon, switch to a knife and immediately switch back to the original weapon.
The feature can be toggled on/ off using the hotkey (P in this case). When toggled off, the action of pressing mouse 4 in CSGO will not be replaced by the script, leading to the local player doing nothing.
Change "q" to your switch to last weapon key if you changed the key in game or else the feature won't work as intended and may cause unwanted effects.
Change "P" to your desired toggle hotkey ("X" with "X" representing the key of your choice. For example if you want the toggle key to be the "F" key you replace "P" with "F"). Change mouse 4 to your desired activation key. ("*~$Y" with "Y" representing the key of your choice. For example if you want the activation key to be the "F" key you replace "*~$XButton1" with "*~$f")
Last updated
Was this helpful?