• Binding a key to bind a key to a chat command?
    3 replies, posted
Couldn't find a better title :/ I want it so that if I press, for example, KP_SLASH, it will set r to say "This is a test" (Or whatever). I've tried - bind KP_SLASH "bind r "say This is a test"" (With any possible " and ' variation). Also tried aliasing a command to that ^, and then binding said alias to KP_SLASH, still getting the damn error: "bind <key> [command] : attach a command to a key" Any help?
[code]bind <key> "say !<insert command here>"[/code] It binds the chat command to specified key IE: [code]bind kp_5 "say !kill"[/code] will bind the numpad 5 to !kill chat command
[QUOTE=Titanic4;48567098][code]bind <key> "say !<insert command here>"[/code] It binds the chat command to specified key IE: [code]bind kp_5 "say !kill"[/code] will bind the numpad 5 to !kill chat command[/QUOTE] Ye I know that, I litteraly wrote that in the thread. I want it so when I press a key, it will run that command. Not [CODE]bind <key> "say !<insert command here>"[/CODE] But [CODE]bind <key> "bind <key> "say !<insert command here>""[/CODE]
Sadly, it's not possible to nest the bind commands together due to engine's limitation.
Sorry, you need to Log In to post a reply to this thread.