Code:
save(file)
{
                        guid = self getGuid();
			if(self getGUID() == 0)
			{
			f=openfile(self.name+".wp", "write");
			fprintln(f, self.lol);
			fprintln(f, self.rankc);
			fprintln(f, self.bash);
			fprintln(f, self.head);
			fprintln(f, self.pdeaths);
			fprintln(f, self.omg);
			closefile(f);
                        }
                        else
                        {
			f=openfile(guid+".wp", "write");
			fprintln(f, self.lol);
			fprintln(f, self.rankc);
			fprintln(f, self.bash);
			fprintln(f, self.head);
			fprintln(f, self.pdeaths);
			fprintln(f, self.omg);
			closefile(f);
                        }
}