r/Tf2Scripts • u/DeezNoodlezz • Mar 25 '21
Question Mouse bind toggle help
(I am using mastercomfig)
So I have my ALT key as my toggle key (for example, pressing e normally will call for medic but ALT+e will call for an ubercharge)
For my medic.cfg file, I want to have it where pressing mouse2 will pop uber normally, but ALT+mouse2 will teamsay that I used an uber according to my loadout slot.
I've had problems with this where it would continue to hold down attack2 when I press mouse2 once. Another problem I had was where it wouldn't say in teamchat at all.


This is what I have now.
What I want to achieve:
- have mouse2 behave normally
- have ALT+mouse2 teamsay whichever uber I pop, according to my loadout slot (as a medic)
- have num1 thru 4 change my loadout and prep ALT+mouse2 to teamsay appropriate uber
I'm also concerned with my mouse3 bind in my "autoexec" file

This might have a similar problem and can probably fix it with whatever solution I get for medic.cfg
Thanks for looking through my problem!
View all comments
Show parent comment
2
u/DeezNoodlezz Mar 25 '21 edited Mar 25 '21
I aliased +uber like you suggested and now it works as I want it to!
Yes, if I'm understanding you correctly, I want, when toggle is active, for only the team message to be said. I want to pop uber with right click and team say with alt+right-click.
Didn't notice that and have fixed it.
Whoops, that was a copy-paste mistake. Got that fixed now.
Thank you so much for your help and for looking through my code <3.