In the player.cns file I have,
Spoiler, click to toggle visibilty and in the Variables.st file I have
Spoiler, click to toggle visibilty If I call var(20) in the DisplayToClipboard state then the correct number is shown. (1000 in this case.) But if I call var(30) then 0 is displayed.
Just in case, I also tested this out. In the Variables.st file I put.
Spoiler, click to toggle visibilty and tried to call the var(30) from a special move in the Specials.st file. It did not work, but if I use the same variable only in a -2 state in the .cns file, then it does work.