Category:Ini
From Scriptwiki
What are ini files
Ini files are files with a "ini" extension. They are usually used to story configuration information for either windows or other applications. Although, you can use them to save all information you want to.
Note that you should not write to an ini file activly used by mIRC (e.g. mirc.ini).
Structure
The basic structure of an ini file is:
[topic1] item1=data item2=data .... [topic2] ....
Note that, because of this structure, you cannot use all characters in topics. For example, "[" and "]" aren't allowed.
Access to ini files
To write to an ini file, you can use /writeini or, to remove items or sections, /remini. To "read" them, you should use $readini and $ini, but you can of course use $read aswell.