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


Joined: 09 Mar 2003
Posts: 28

PostPosted: Tue Jul 29, 2003 4:44 pm   

Trouble with old data.
 
I am trying to set a new var to the value of another var, but i do not seem to be getting the correct data.

#var grandtotal @total

this is inside an alias that does a number of other things. Also this does set the @grandtotal to a value that @total used to be, but i am not able to find the logic as to where it gets this old value.

Now what i mean by "used to be" is I also use @total to display my current @total exp gained, and each time I type score it updates. But the value in @total when i try to set it to @grandtotal seems to be atleast a few days old. So any suggestions would be great.

Krohnu.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jul 29, 2003 11:14 pm   
 
Are you sure there isn't another @total variable somewhere that might be getting used instead?
Reply with quote
krohnu
Beginner


Joined: 09 Mar 2003
Posts: 28

PostPosted: Fri Aug 01, 2003 12:10 am   
 
Yeah, I checked that already...

Hmm.. guess I need to keep trying.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Aug 01, 2003 3:30 am   
 
Perhaps posting the entire alias would be helpful in diagnosing this for you. A few other things you might want to look at are all the locations where the 'total' variable is set. If you use looping commands within a script after setting any variable that can be modified by other triggers, then it is possible that it will be modifed.
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