r/Tf2Scripts • • Aug 06 '19

Question Script request: Reverse medic toggle

Medic script:

+attack is always on when holding the medigun unless you hold mouse (option to toggle). Mouse1 would toggle +attack (not other weapons_

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/just_a_random_dood Aug 30 '19

I did it! I figured it out!

alias enable_autoheal "+attack; bind mouse1 +mate_autoheal; 
bind [key] disable_autoheal"
alias -mate_autoheal "+attack"
alias +mate_autoheal "-attack"
alias disable_autoheal "-attack; bind mouse1 +attack; bind [key] enable_autoheal"
bind [key] enable_autoheal

this one works 100% for me, I just tested it in game :D