For yours Tomao, is there anyway to view the file?
For my example, you may need to have a hash table viewer to see the added items and data values. Once you exit your mIRC, The code will save them in your mIRC directory. Then you can view them from there.
But the way hash table store the info is sorta out of order, meaning it's not as clean-looking as the INI file.
That said, if you find Riamus2's working like a charm, stick with it.
P.S. you can make a little script to loop through the content to view the saved info, but it's convenient to use a viewer. It also adds a bit of an extra work to the existing code..