Nah, was thinking on the line:

REFORM_ACTIVATED: FALSE

and some scripted bit which would edit the boolean if conditions had been met to

REFORM_ACTIVATED: TRUE

So it's not realy about using variables from the script, it's more about editing .txt files through the script. It won't work anyway - I see now.