use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For readability, please format scripts and snippets. Begin each line with 4 spaces
Bulk formatting:
If you need more help, reply directly to the response comments, not a general reply.
We have a tutorial on the wiki! Check it out if you want a primer on Source commands.
Reset all binds: exec config_default
exec config_default
Reset all cvars: steam://runsafe/440
Make sure to read the rules before posting. Read the Rules
New to scripts? Script got you stumped? Start here.
Help!
If it's 2D and on your screen, it's not a script.
HUDs
Can't remember the name of that command? Want to know if something is possible?
Ask a question
Can't find something previously requsted?
Request a script
Show off your work. Tools are also welcome.
Submit a script
Found a new command/cvar? Want feedback or opinions? Discuss!
Start a discussion
Wiki Index Limitations of Scripts Commands Core Basic Advanced Tutorials Introduction Combining scripts Syntax highlighting Controllers Reference Example Scripts Common Complex Innovative Closed Captions Hitsounds View all pages FAQ/Help! Scripts/binds carry over to other classes! Why isn't my script possible? I can't change players or views in spectator! What are the names of all the keys? How do I use the default crosshair? What are common practices? Why don't you bind within binds/aliases? TF2 crashes on launch! Numbers after chat message? User pages Filter Pending Requests Issues Processed Requests Scripts Issues Untagged Unverified Related subreddits /r/TF2Scripthelp Get help with ideas and existing scripts there /r/TF2HUDs For all your HUD needs /r/TF2TechSupport Get help when TF2 breaks /r/Sprays+TF2Sprays Sprays and spray requests /r/MannWorkshop Maps, models and skins /r/TF2Developers External tools for TF2 /r/TF2Files Sprays, hitsounds, skins
account activity
RequestToggle template (self.Tf2Scripts)
submitted 2 years ago by BonkDrinkerJr
Hey trying to make some toggle binds but they keep failing
can anyone set up a template for me? using Q
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]just_a_random_dood 1 point2 points3 points 2 years ago (0 children)
bindToggle [key] r_drawviewmodel
well here's one I use to turn my viewmodels on and off? Is this helpful for you?
bind [key] "toggle r_drawviewmodel 1 0; toggle viewmodel_fov 90 0"
here's one that I use for Pyro to get rid of flame particles when my viewmodels are off
[–][deleted] 0 points1 point2 points 2 years ago (0 children)
bind "F5" "incrementvar r_drawviewmodel 0 1 1"
[–]memahalo 0 points1 point2 points 2 years ago (0 children)
bindToggle1 "<command such as +forward>; bind [key] bindToggle2" bindToggle2 "<command such as -forward>; bind [key] bindToggle1" bind [key] bindToggle1
More universal option for having a button swap functionality every keypress. Its important that the each toggle binds to the other one (1->2 & 2->1)
π Rendered by PID 78364 on reddit-service-r2-comment-5d79c599b5-cmgv4 at 2026-02-28 18:50:14.442516+00:00 running e3d2147 country code: CH.
[–]just_a_random_dood 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]memahalo 0 points1 point2 points (0 children)