I have a script that has a massive amount of variables (both local and global) that are constantly changing and must be constantly updated. However, I need some efficient way to update all the variables at once. So I decided to use a alias:

/variables {
var %num = %c
}
/counting {
set %c 1.009
var %num = %c
%c = 2
variables
echo -a %num
}

But this doesn't work, and %num remains at 1.009. So, if aliases do not pass on local variables (which is the majority of my variables), then is there a way to fix this? Or is there another way?