can you teach me how you did it?
Each time, you go further the "rabbit hole" you need to separate it with a dot (no spaces).
First you have to press
[F12], click
[console] tab, and get to the basic list by typing (or pasting) "SugarCube.State.active.variables" and hitting
[Enter]. You will see a list all the variables that could interest you
. All you need here is just common sense.
Let's assume you want to change the amount of your cash.
Where could it be assigned to? Probably to you: a "player", since it would be quite tiresome to program it to change the name of the function depending on the name you have chosen (if that is even possible in html, i have no idea).
So you press
[↑] to bring back "SugarCube.State.active.variables" and add ".player" at the end, then press
[Enter].
Now you have statistics of your character. For cash, it's simply "money" and there is nothing further down, just it's just a number.
Here to edit the amount all you have to do is "=*number*" so at the end it would look something like this: "SugarCube.State.active.variables.player.money=1000" if you want 1000$.
PS. I have absolutely no idea about coding, i just clicked around until i found what i need and it worked.