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


Joined: 10 Aug 2005
Posts: 6

PostPosted: Fri Aug 12, 2005 12:55 pm   

Reset variables
 
How do i reset a variable to its default within a script?
#reset {classname} doesn't work for me, because there is a always an output that bothers me.

gim
Reply with quote
Carabas
GURU


Joined: 28 Sep 2000
Posts: 434
Location: USA

PostPosted: Fri Aug 12, 2005 6:34 pm   
 
Hmm. Well if you do not like the message, you can turn off "Echo messages" in the preferences under Script Parser. Otherwise you'll just have to manually set the value of the variable using the #VARIABLE command.
_________________
Carabas
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sat Aug 13, 2005 12:25 am   
 
or.......
#GAG {^The Message it gives$}
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Carabas
GURU


Joined: 28 Sep 2000
Posts: 434
Location: USA

PostPosted: Sat Aug 13, 2005 12:39 am   
 
Yep, thanks nexela. I hadn't even thought of gagging it. Smile
_________________
Carabas
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