Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Zene
Beginner


Joined: 10 Jul 2002
Posts: 26
Location: Canada

PostPosted: 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
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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
Reply with quote
Zene
Beginner


Joined: 10 Jul 2002
Posts: 26
Location: Canada

PostPosted: Fri Aug 16, 2002 4:16 pm   
 
Thanks again Kjata! :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net