r/tf2scripthelp • • Oct 02 '14

Question When do double quotes actually work?

Darkid here, author of the tf2 wiki scripting page, looking to add a few more technical details: Does anyone know exactly when do double/embedded quotes work and when do they fail? Does it have something to do with alias/bind/say commands, or is it something else entirely?

Specifically, stuff like:
alias blah "alias blah1 "blah2; blah3"; blah1"
alias blah "bind k "blah2; blah3"; blah1"
alias blah "say "blah2; blah3"; blah1"

1 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/darkid Oct 03 '14

I'm sure there's not lost functionality, I'm just wondering when it works. So are you saying that aliases absolutely never support this functionality?

1

u/genemilder Scripter Oct 03 '14

What I'm saying is, if something doesn't work without nested quotes, it's not going work with nested quotes. I've never seen any example where nested quotes were beneficial or necessary, they invariably have a neutral or negative effect on the functionality of the script.