r/Tf2Scripts • • Sep 08 '22

Script Useful medic script.

alias "heal" "healon"
alias "healon" "alias heal healoff; +attack;bind MOUSE1 +off"
alias "healoff" "alias heal healon; -attack;bind MOUSE1 +attack"
alias +off "-attack"
alias -off "+attack" //this is needed because you cant just bind M1 to - attack

bind heal <key>

//this makes it so when you press your selected key, you attack constantly and stop attacking when holding down M1.

6 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/Friendly-Grape-8878 Sep 08 '22

Thanks for the feedback! I do agree that the names were very generic and might interfere with other scripts, but this was a very personalized script that I have wanted for a while. My spy config is so cluttered that I devoted the past couple of days just learning the ins and outs of scripting to clear it up. Oh yea that typo woops. Its supposed to be bind <key> heal.