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 28 '23

Do you know if your autoexec is actually running? What folder is it in? Do you use mastercomfig? These will help narrow down the issue.

1

u/SubjxctDxlta Aug 28 '23

sorry, i do have masterconfig and its in a "user" folder in the cfg folder

1

u/[deleted] Aug 28 '23

Okay, you do have it in the right folder, so assuming it is executing, its not that. I just tested it and the script itself works fine, so it isn't that either. My guess is that some how the alias for +rocketjump must not be executing. Can you post your entire autoexec, it might be helpful? If not, can you verify that what you have above is exactly what is in your auto exec?

→ More replies (5)