Difference between revisions of "Category:Ini"
From Scriptwiki
m (added parent category) |
|||
Line 1: | Line 1: | ||
− | + | == 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 strucutre of an ini file is: | ||
+ | [topic1] | ||
+ | item=data | ||
+ | item=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]] |
Revision as of 16:31, 29 November 2005
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 strucutre of an ini file is:
[topic1] item=data item=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.