Is it possible to put quotes inside quotes in the Source developer console? For instance, is it possible to bind
bind KP_END "give weapon_357"
bind KP_INS "bind KP_END "give weapon_357""
returns a syntax error.
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.Sign up to join this community
You cannot nest quotes in console commands. I'm not sure if there is a way to escape them, but you can work around this limitation by aliasing the quoted command. For example, in your case:
alias givewpn "give weapon_357"
bind KP_INS "bind KP_END givewpn"
And voilà, the second command doesn't require quotes anymore.
Just bind straight to
KP_INS. That should work. There is no point have a bind within a bind. I not to sure on the situation but by the looks of it what I said should work.
bind KP_INS "give weapon_357"
I know from csgo and soruce that all you have to do is that and it'll work. Even if there was a previous bind on that key it should replace it with the new bind.