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
braumen
Beginner


Joined: 28 May 2002
Posts: 17
Location: USA

PostPosted: Sat Apr 17, 2004 12:27 am   

Status Line & Variables
 
Ok... what i am trying to do is make a counter in the status line
What i would like it to do is keep track of three different variables (that much i have working properly) and then add those three variables into a single value that will show up on the status line... that is the part i cant get to work.... any suggestions would be much appreciated
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sat Apr 17, 2004 1:12 am   
 
#math totalval {@val1+@val2+@val3}

then put @totalval in your #ST

#ST {@totalval}
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Apr 17, 2004 1:12 am   
 
#ST %eval( @Var1 + @Var2 + @Var3)
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sat Apr 17, 2004 3:19 am   
 
Hmmm I REALLY need to start drinking coffee and pick a less hectic time of the day before I attempt to answer :P
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