Well this is just me, but I only use variables in loops (local).

If you need to store something, use .ini files, more organized I think. Unless you want speedy results then use hash tables, although I don't know why you'd need that fast of results for a chat program.