If you happen to be interested in a related script idea...
I once wrote a script that checks the IRC server's /links and used that information to update the servers.ini file...
Worked nice for adding, but I never addressed removal of old servers. It also wouldn't work if /links wasn't available to non-operators.