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
Chigins
Newbie


Joined: 27 Feb 2002
Posts: 7

PostPosted: Wed Feb 27, 2002 9:12 am   

Variables not Resetting?
 
Ok I am pretty new to Zmud. That being said.
I am extracting information off the console using a trigger
Population: (%d) which fills the Variable @Population. Then I am displaying the value of @Population on a seperate screen with;

#sh @Population;#cap Duchie_Text;#gag

and this all works great till I try to do it more than once. The value doesn't reset? Please help.

Chigins
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Wed Feb 27, 2002 12:50 pm   
 
First off your commands
#sh @Population;#cap Duchie_Text;#gag
would be done better as
#window Duchie_Text @Population

As to why the variable is not being updated, you would have to post how your doing that.
Reply with quote
Chigins
Newbie


Joined: 27 Feb 2002
Posts: 7

PostPosted: Wed Feb 27, 2002 1:12 pm   
 
Thank you for the change in Command. It seems to have fixed the problem :)

Chigins
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