What is wrong with you people? Why can you not get your head round the fact that on a modding forum, when someone posts a script it is meant to be an example? Not a finished, ready to use article. The code I posted gives the bare bones of a system to save values to a file. Yet, you have taken the least important aspect of it and rounded on it as if that reduces the value of the real "meat" in the code - the code to save values to a file. The point is, you can REPLACE how you flag the value - be that a player's name or a GUID - yet the principle is still valid.
I sometimes despair at the level of intelligence shown on some modding forums.