Difference between revisions of "Category:Ini"
From Scriptwiki
m (added parent category) |
m (no stories in here :)) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | == 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|/writeini]] or, to remove items or sections, [[Remini|/remini]]. To "read" them, you should use [[$readini]] and [[$ini]], but you can of course use [[$read]] aswell. | ||
[[Category:MIRC_Help]] | [[Category:MIRC_Help]] |
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.