|
krohnu Beginner
Joined: 09 Mar 2003 Posts: 28
|
Posted: 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. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Jul 29, 2003 11:14 pm |
Are you sure there isn't another @total variable somewhere that might be getting used instead?
|
|
|
|
krohnu Beginner
Joined: 09 Mar 2003 Posts: 28
|
Posted: Fri Aug 01, 2003 12:10 am |
Yeah, I checked that already...
Hmm.. guess I need to keep trying. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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.
|
|
|
|
|
|