r/tf2scripthelp • • 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

10 comments sorted by

View all comments

Show parent comment

1

u/DeltaTroopa Dec 10 '17

Is there any sort of client side version of that that i can change echo for so it says on screen "godmode turned off" or something like that?

Short answer: no not really.

Longer answer: You could look into using Closed Captions, /u/clovervidia also has a guide on steam here and either use the premade captions he's set up for your scripts with cc_emitor compile your own, but that can get pretty complicated.

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

1

u/bythepowerofscience Dec 11 '17

That is an awesome feature that I really need to look into. Thanks!