Much like OrFeAsGr suggested, I recommend using ini files for their simplicity.
Here's a little pseudocode you can try to follow

When someone types anything
Check length of what they wrote
Add length to their section in ini file


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net