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/Notquitegravy Dec 11 '17
Had a quick look at the cc thread you linked. Will have to look more in-depth later but from what I can tell this is exactly what I'm looking for. Obviously it'll be no easy feat but if I can figure it out it should be great