So, what this socket script does is to get the latest info from mIRC.com's server.ini? Why not just GET all the info on that page, remove the existing servers.ini using the /remove command and then write it as a new ini file in your mIRC directory? It's kind of troublesome to use hash tables for this.