Reset all variables in one script

You really only need to do something like


it doesn't require a nothing block. You could stick the javascript function in a block to make it look better, but I didn't do it.

I know, but I wanted a list of variables in a block and an empty block

yeah, but having another block to report an empty string is useless and takes up a lot more space in the project file.

You can also do this

and just saying, when resetting a variable, it usually means setting it to 0, not nothing.

it won’t work, all the variables will take as value their names

but the for i = () to () block doesn't fill in empty slots. I also checked that this works.