mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2003
Posts: 9
L
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Aug 2003
Posts: 9
I posted this as a reply, but I can't see the message?
Anyway, to combine my own servers.ini with a new version from the mIRC site, I do this - I copy my ini file to Word, convert it into table, cut the column with numbers, do the same with the updated servers.ini file, copy both files together, sort their lines, remove all duplicate lines and then number all remaining lines. Then I save this merged to a new servers.ini. It's very tedious, though, and there should be a normal way of doing this - like a command "Import new servers" or "Merge servers.ini with a new file" in the mIRC menu. 6.04?

Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Hmm, actually you should be able to do this pretty easily using mIRC's script editor.

1. Replace [servers] with [script] in both servers.ini files.
2. Load both files as Remote Scripts in the editor. (ALT+R).
3. Copy/Paste the entries from one file to the other.
4. Save. Ok. Close.
5. Replace [script] with [servers] in the new servers.ini

Or you can write a script that does this a lot faster using any number of methods. I'd probably use the $ini() function to enumerate both files and remove duplicates.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard