r/Tf2Scripts • • Aug 05 '20

alias doesnt work

Hi!

So in mvm theres a glitch involving sentry busters getting stuck on a spot if you destroy your sentry midair. To do that, we have a script or a bind to destroy the sentry in our hands. I moved pc and tried to reapply the script again but for some reason the console says "unknown command: sentry.

If i type the script into the console, it works, but as soon as i close the game and reopen it, its gone. What am i doing wrong?

Script:

alias sentry "destroy 2; build 2";

bind 9 sentry;

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Freak4ever2000 Aug 06 '20

alias sentry "destroy 2; build 2";

bind 9 sentry;

thank you that worked!

1

u/pdatumoj Aug 07 '20

I'm happy to hear that. :)

Also, welcome to the weird, largely undocumented, and often arcane world of TF2 scripting.

1

u/Freak4ever2000 Aug 07 '20

Not much of a scripter and customizer, as prooven above, so once my stuff works, it works and i wont change it until it breaks. Thats the reason why i came here in the first place . But thanks for the warm welcome regardless.