Hi, I would like to know if it is possible to to save a player's name(s) in a file linked to their guid number?
For example, whenever someone changes their name, their new name is saved into the file on a new line, but only if it has not already been written.
(guid).txt
(inside file)-> name1
name2
name3
etc...
I have read this post & thread: http://killtube.org/showthread.php?6...ull=1#post3069 to get feel of how to read and write files but I do not know how to read or write multiple lines. I know that a player's name can be retrieved from the variable "self.name" but how would I go about checking the name against what is written in the file to prevent duplicate writes?
Thanks!