Details
This patch based on svn 1090 contains 3 modifications:
1) allows admin commands defined in admin.dat to accept arguments
2) allows scripts run with exec to accept arguments
3) allows commands (server, client, admin and script) to use the contents of cvars

It is recommended you use these with wireddd's /if /math /concat patch

1) The entire command line is stored arg_all.
Individual arguments are stored in arg_? where ? is the arg number starting from 1.
The number of arguments is stored in arg_count.
The name of the client who issued the command is stored in arg_client.
For example:
!test is a command defined in admin.dat
"!test hello": arg_count = 1, arg_1 = "hello", arg_all = "hello"
"!test hello world": arg_count = 2, arg_1 = "hello", arg_2 = "world", arg_all = "hello world"
"!test": arg_count = 0, arg_all = ""
You could make a !rcon command which has:
exec = vstr arg_all
in admin.dat
This is a modification of the QVM.

2) The entire command line is stored arg_all.
Individual arguments are stored in arg_? where ? is the arg number starting from 1.
The number of arguments is stored in arg_count.
For example:
"exec test.cfg hello": arg_count = 1, arg_1 = "hello", arg_all = "hello"
"exec test.cfg hello world": arg_count = 2, arg_1 = "hello", arg_2 = "world", arg_all = "hello world"
"exec test.cfg": arg_count = 0, arg_all = ""
This is a modification of the client/server.

3) Cvar contents can be insterted into a command (server/client cmds (including admin cmds) and scripts.
The syntax for substitution is \$cvar_name\ including the slashes.
For example:
"exec setvar.cfg 1 0"
setvar.cfg:
set g_allowVote \$arg_1\
set g_allowShare \$arg_2\
This function can be used to pass arguments from an admin command to a script:
exec = exec test.cfg \$arg_all\
Note 1: cvar substitution is done before the command line is split into args so argument count could be affected if the cvar contains a space.
Note 2: cvar substitution is done from the begining of the command to the end. So \$g_unlagged\$g_allowVote\ will become 1$g_allowVote\.
Note 3: if a cvar doesn't exist it won't be substituted and will be left as it is. So \$dd\ will stay \$dd\ in the command (assuming dd doesn't exist).
This is a modification of the client/server.

Thanks to griffon for testing.
