Difference between revisions of "Category:Ini"
From Scriptwiki
m (no stories in here :)) |
|||
Line 1: | Line 1: | ||
== What are ini files == | == What are ini files == | ||
− | Ini files are files with a "ini" extension. They are usually used to | + | Ini files are files with a "ini" extension. They are usually used to store 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). | '''Note''' that you should '''not''' write to an ini file activly used by mIRC (e.g. mirc.ini). |
Latest revision as of 14:45, 4 May 2007
What are ini files
Ini files are files with a "ini" extension. They are usually used to store 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.