Vexorian has a Save - Load system made in JASS
but you setup it in GUI
You dont need to touch anything in JASS script
There is a variable in it and its arrayed I forgot its name and I'll call it Store for now
you use like
Set Store[1] = Level of some hero
Set Store[2] = Gold of some player
Set Store[3] = whatever you want
Custom script: call SomethingThatIForgot()
it gives you a code
when you type -load etc (I think you can configure it)
it sets Store[1,2,3,4 etc] to stored variable
You got what I mean