r/tf2scripthelp • u/MikeTheOne05 • May 23 '24
Question Help with heavy bind
alias toggle "enable"
alias enable "alias toggle disable; +attack2"
alias disable "alias toggle enable; -attack2"
alias ptoggle "penable"
alias penable "alias ptoggle pdisable; +attack"
alias pdisable "alias ptoggle penable; -attack"
alias b bind mouse1 ptoggle
alias d bind mouse2 toggle
alias c bind mouse1 +attack
alias e bind mouse2 +attack2
alias f bind mouse2 "+attack2"
b;d
bind 1 "slot1;b;d"
bind 2 "slot2;c;f"
bind 3 "slot3;c;e"
How do I make so after throwing a lunchbox item it uses the slot specific bind?
2
Upvotes
View all comments
Show parent comment
1
u/MikeTheOne05 May 23 '24 edited May 23 '24
I edited the post. I turned the binds into aliases so it's easier to understand.
now it should work, I wanted so that when I throw the sandvich it uses the settings for that slot/weapon so that when I throw the sandvich and it's the minigun it uses the rev toggle script and when it's the gloves it uses the default settings.