[mIRC scripting question] Is there a way to copy an INI section from one ini file to another ini file and keep it the same except for the name? For example:
in default.ini
[noname]
setting1=blahblahblah
setting2=blahblahblah
I want to copy [noname] from default.ini to someother.ini but change the [noname] to something else, but keep everything else inside it the same.
I know I could have the script go through and set a variable for each setting and then write the section using those but the sections I plan on copying are going to be much longer than just two or three lines. Plus if I change or add something in those sections I'd have to go edit the code again, whereas if there's a way to just copy the section it will just be that one non-changing code.
Hope that makes sense.
load it into a hashtable and then save the hashtable in ini format: /hsave -i