[b]EDIT: Fixed it! Forget about this thread![/b]
Hey everyone, so I'm working on an autoexec file that will set up a way to easily spawn bots with the numpad while also switching the teams with another keystroke.
Here's what I have so far:
[code]//Bot Keybind Core Functions
alias "botTeamToggle" "botTeamToggleRed"
alias "botTeamToggleRed" "alias botScout tf_bot_add 1 scout red; alias botTeamToggle botTeamToggleBlu"
alias "botTeamToggleBlu" "alias botScout tf_bot_add 1 scout blue; alias botTeamToggle botTeamToggleRed"
//Bot Keybind Class Keys
bind kp_end "botScout"
[/code]
The problem is, I keep getting a "Unknown command: botScout" whenever I hit my numpad1 key. I think it has something to do with the syntax of the way I have the botScout alias set up. I'm pretty sure I have to somehow seperate the tf_bot_add arguments from the rest of the line, but I don't know how to do it.
Anyone know what I can do?
Nevermind he fixed it
Sorry, you need to Log In to post a reply to this thread.