alias "ding1" "tf_dingaling_wav_override player.hitbeep; echo ***custom hitsound disabled***; alias ding ding2"
alias "ding2" "tf_dingaling_wav_override "quake3.wav"; echo ***custom hitsound enabled***; alias ding ding1"
bind "f10" "ding"
Ok, I have seen scripts to toggle the hitsound on and off, but not one to change from custom to normal. If you have gotten used to using a custom hitsound like I have, losing it to a sv_pure enabled server can be annoying! The bad part is that it is just silent, it doesn't revert to the default hitsound! So, this script will toggle you between the default hitsound and your custom one! Just replace quake3.wav with the name (or filepath, if it is not in the default tf/sounds folder) of your custom hitsound. Also, you can change F10 to whatever key you wish to use. Just stick in your autoexec.cfg and you are good to go!