The problem is the "seta" command when is located inside to another command.
Try this test:
ut_echo "TEST: loading test commands..."
ut_echo "TEST: try to bind 's' key"
bind s "vstr testing"
ut_echo "TEST: 's' key should be binded"
ut_echo "TEST: 'set foo'..."
set foo "ut_echo I'm called from 'foo'"
ut_echo "TEST: 'set bar'..."
set bar "ut_echo I'm called from 'bar'"
ut_echo "TEST: 'seta testing'..."
seta testing "vstr foo; seta foo vstr bar; vstr foo; ut_echo I'm inside the 'seta testing'"
ut_echo "------------------------------------"
ut_echo "Test ready to run, press 's' to run."
ut_echo "------------------------------------"
When I run this is what happens:
TEST: loading test commands...
TEST: try to bind 's' key
TEST: 's' key should be binded
TEST: 'set foo'...
TEST: 'set bar'...
TEST: 'seta testing'...
------------------------------------
Test ready to run, press 's' to run.
------------------------------------
I'm called from 'foo'
usage: seta <variable> <value>
I'm called from 'foo'
I'm inside the 'seta testing'
So, if is there no way to use some things like quotes inside the double quotes or escape characters where is the solution? Is a 4.2 bug?