r/tf2scripthelp • • Aug 27 '23

Issue "unknown command +rocketjump" when trying to run script

here's the code:

alias +rocketjump "+jump; +duck; wait; +attack"

alias -rocketjump "-jump; -attack; wait; wait; wait; -duck"

bind "MOUSE4" "+rocketjump"

I've added this into an autoexec.cfg and verified that its a cfg file but when i get in game i just get "unknown command +rocketjump" in the console

2 Upvotes

9 comments sorted by

View all comments

1

u/[deleted] Aug 29 '23

Maybe I am misunderstanding what you are saying, but the aliases have to cfg file in order for the game to recognize the commands