ID:747668
 
mob
Login()
Load()
..()
var
highscore
proc
Save()
????????
Load()
????????

I want to make it so the high score value is saved. But this is just one of the many variables I need to save. Can you define a template that I could use and follow using the above code as an example? And its JUST variables that I need saved, not inventory or other stuff.
Thanks.
I give a good explanation of savefiles here.

Read that post and learn from it. Attempt to save this variable from what you learned. My explanation makes it very clear and simple, so if you still cannot do it, then post what code you tried to do it with and I'll help you out. I don't want to just hand you code this easy, though.
http://www.byond.com/ developer/?sort=pop&text=tag%3asavefiles

Here's a link to some resources that have to do with savefiles.
I read that but I'm still confused.
If I had a variable like this...
mob
var
highscore
proc
Save()
???????

How would I save it?
This is mentioned in the link that Albro1 posted. Please do not skim over, READ the whole thing and it will make sense.

For example, you should have easily been able to initiate the save file variable in that snippet above. Do not expect a handout.
bro i suggest you dont code :/
unless you do it your self your going to be continuously be counting on us to make your codes FOR you instead of you working and being able to help yourself
go check the guide,if you dont find a answer check the help file, if you still cant do it search the forums, if you STILL cant do it ask here

and dont just copy the codes people give you read them understand them and then dont come back here with the same question and then you will begin coding :P

heres some tips ---
<<
savefile
Write()
Read()
""
=
..()
-------------------
figure out them and put them together similar to a puzzle :)
if you still cant figure it out come back here and reply IN THIS post
that square is a >|> (without | ) didnt know it mad it weird like that in the forums :O