Mirroring variables?


#1

Is it possible for me to create two variables and then mirror them?

Example:
*create stat1
*create savestat1

How would I *set savestat1 to be the same as stat1, like if stat1 = 42, have savestat1 set to stat1, which is at 42, rather than as ‘stat1’?


#2
*set savestat stat

for saving and

*set stat savestat

for loading

I think this is how you save and load stats.


#3

If so, that’s simpler than I was trying to make it, adding { }'s and all…


#4

Yes

*set stata statb

And

*set statb stata

Work fine.