r/tf2scripthelp • u/Notquitegravy • Dec 06 '17
Resolved Bind an alias inside an alias
alias "godtoggle"
alias "godon" "sm_addcond @me 51 999; alias godtoggle godoff"
alias "godoff" "sm_removecond @me 51; alias godtoggle godon"
bind kp_pgup "godtoggle"So the top script Is what i'm trying to do. I know the bottom script is possible and I already knew i could do that to avoid that as the first suggestion.
alias "godon" "sm_addcond @me 51 999; bind kp_pgup godoff"
alias "godoff" "sm_removecond @me 51; bind kp_pgup godon"
bind kp_pgup "godon"edit: Fixed formatting
1
Upvotes
View all comments
Show parent comment
1
u/bythepowerofscience Jan 13 '18
It's the same as yours, except it also makes the console appear on the hud long enough for that single message.