how many variables do u want to save.
what form are they currently in.
once u can identify what u want to save write them down on this post.
eg psuedo variables
player name
player x
player y
player z
player hps
player experience
player quests completed
then once u have identified the players required variables u have to look at your gameworld
game start time
up time
lets say u have 10 cubes in your map that are affected by the player
so these cubes will have two states either not affected and affected.
lets use affected as a variable name and a 1 indicates that the player has touched them
lets say also the player touced the first 3
u will have to record this into your saved game file.
dim affected(10) : rem its actually 11 spaces but we make it easy
for i = 1 to 10
if i <4 then i = 1
if i >3 then i = 0
next i
something to this effect shows u how to set it back up
as after u have saved your file u have to consider either
re loading all the objects and repostioning them via the data read back in.
examples:
if they are arrays u can use the save array command
if its lots of numbers in variables u could save them in a textfile thats readable or not via notepad.
You will make your own file formats and ways of doing things to suit your game and prevent changes from users if u want or not.
look at these commands help files and look around for a few snippets
if file exist()
open to write
open to read
read string
read long
write string
write long
save array
close file
theres a few more but u will get it