Saving character position

How could this be done as an autosave/autoload? Or is that exactly what this does?