Page 1 of 1

Possible to set a variable to an option value?

Posted: November 17th, 2016, 10:21 pm
by bradacc
Something along the lines of a useable version of this;
/vt mexec setvar[DoHelpStatus, \vt opt get DoHelp]
/vt mexec setvar[HelperDistance, \vt opt get Recharge-Helper-HitP]

Plan being to save the current values, change them for a section of meta, then revert back to original values.

Re: Possible to set a variable to an option value?

Posted: November 17th, 2016, 11:34 pm
by Dmdtt
not really possible, only way you could do this is every time you change the value set a variable alongside it to "remember" its value. then use that value later.