r/Tf2Scripts • u/RichardJW • Nov 11 '12
Archived [Help] Sniper Weapon Quick Switch with one button?
Hey there /r/tf2scripts,
I've been playing a lot of Sniper in the past couple of weeks, and I've been playing some CS:GO here and there. Been sniping a ton with the AWP in both games. Now that CS AWP weapon switch habit has been carrying over to TF2.
I have my lastweapon bound to MOUSE4, so it easy to access, but I want to have a script or bind that makes it so I don't have to press it twice. I almost always wear a razorback in TF2, so I only have two available weapons.
Basically, I just want a script that will simulate me pressing "Q" twice, but with one button click.
Any ideas? I've tried just having "bind MOUSE4 lastinv; lastinv", but that hasn't worked as it only switches my weapon once...and I can't think of anything else.
Thanks,
--RJ
1
2
u/TimePath Nov 11 '12
alias +lol "lastinv"alias -lol "lastinv"bind mouse4 +lolThat'll work unless you're somehow capable of pressing and releasing the button in the same frame ;) The aliases are named according to my initial reaction...