|
Zene Beginner
Joined: 10 Jul 2002 Posts: 26 Location: Canada
|
Posted: Fri Aug 16, 2002 3:40 pm
Parsing Variables |
Hi..in the end of my running script..i have a variable i want to change incase i want to do something at the end of the run..so
#var endofrun {dothis;thenthis;etc}
but when i call this variable @endofrun
it just displayes:
dothis;thenthis;etc
but doesn't parse any of it into separate commands..i'm guessing there is something simple i'm missing...can anyone tell me what it is? :)
Thanks |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Aug 16, 2002 4:01 pm |
Use the #EXEC command to make zMUD execute whatever arguments you pass to it. In your case, it would be:
#EXEC @endofrun
Kjata |
|
|
|
Zene Beginner
Joined: 10 Jul 2002 Posts: 26 Location: Canada
|
Posted: Fri Aug 16, 2002 4:16 pm |
Thanks again Kjata! :)
|
|
|
|
|
|