ID:140112
 
Code:
proc
savePlayer(client/mob, savefile/a=("player.sav"))
client/mob.Read << health


Problem description:
That's the code for it to save, what I'm having trouble with however, is getting it to open and read it, anybody got an idea?</<>
You post a lot of problems that are really..... Noobish...
Why don't you read the guide:
http://www.byond.com/docs/guide/
I'm sure you'd learn all of this there. Instead of asking billions of questions about simple things like Login, saving and such. or search the Forums a bit =)
In response to Isenggard
I'm sorr, it's just I am eager to dive into programming for BYOND. And yes I'm reading through the guide and working along with it. I'm just trying to take things one step at a time, and the thing with what it says in the guide is it deals with writing and saving for objects in atom, not writing for a save file in general. Although perhaps you may be onto something, maybe I need to write for specific mobs and be a bit less general... >_>
In response to CodeWeasel22
Well I'm sure if you look through the forums you can find some things, and if you can't find any lib, or demos on it then ask =)