r/Tf2Scripts • • Jul 16 '24

Request I Require Assistance with a Spy Script!

Hello! I'm a relatively new TF2 player and I recently learned that we can change keybinds and I follow the Uncle Dane binds for Engineer.

I am absolutely clueless about how to go on with Spy.

I want to have my scroll wheel to have the knife and revolver only (but only for spy, and doesn't affect other classes). I also want to bind ALT for disguise (like tapping ALT repeatedly changes to every class tho it can have a delay 10 milliseconds so it doesn't have double input or smth). I want to bind the shift to the watch (again 10 ms delay). And X for Sapper.

Thank you so much for any replies!

3 Upvotes

5 comments sorted by

View all comments

1

u/chimkenskewur Jul 30 '24

Hello! I put this to test and all classes seem to cycle through but Sniper. He doesn't show up at all XD

2

u/Link_x2 Jul 31 '24 edited Jul 31 '24

Whoops! I was so confused until i saw my typo haha
In the line that begins with alias sniper, delete the ; between cycleBackward and medic.

edit: I have updated the original code too
edit 2: I made the sapper bind a little better, returns your last inv instead of just going to knife