|
TheHardCount Newbie
Joined: 06 Aug 2007 Posts: 5 Location: Las Vegas, Nevada
|
Posted: Mon Aug 20, 2007 12:48 am
parsing commands stored in variables |
Hello, I am having a small problem.
As an example:
Code: |
#ALIAS send_Test {@Test}
#VAR Test {#WALK tree}
send_Test
|
sends "#WALK tree" to the mud instead of parsing the #WALK command. How to handle this so that it parses the #WALK command? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Mon Aug 20, 2007 12:57 am |
Quotes are internally stored for variables. Every attempt is made for them to be transparent for script purposes. Executing a command from such a variable requires the use of #EXECUTE. Perhaps if you posted an actual script instead of a mock up we could suggest other methods that would take advantage of all the speed improvments CMud has made in recent versions.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
TheHardCount Newbie
Joined: 06 Aug 2007 Posts: 5 Location: Las Vegas, Nevada
|
Posted: Mon Aug 20, 2007 1:27 am |
Using the #EXECUTE command solved my problem, thank you.
|
|
|
|
|
|