It was be easier for less knowledge users to just useIn the console, you have to use the entire statement:
SugarCube.State.active.variables.Johnfree=0 or SugarCube.State.active.variables.Johnfree=0
Then it should work. I do it all the time in Twine/SugarCube games. :>)
You must be registered to see the links
and find the variable that u want to change easily. I use this for most games QSP, RPGM, VN and HTML games.