Project

General

Profile

Writeini » History » Version 3

Per Amundsen, 12/22/2021 06:12 PM

1 2 Per Amundsen
_Added in 1.9.0_
2 1 Per Amundsen
3 3 Per Amundsen
*/writeini [-nz] <inifile> <section> <item> <value>*
4 1 Per Amundsen
5
*Switches*
6
7
-n - Forces AdiIRC to write to an INI file, even if it's bigger then 64k (obsolete)
8 3 Per Amundsen
-z - Allow writing empty <value>.
9 1 Per Amundsen
10
*Parameters*
11
12
<inifile> - The file to write to.
13
<section> - The section to write.
14
<item> - The item to write.
15
<value> - The value to write.
16
17
*Example*
18
19
<pre>
20
;Write a few items to a file.
21
/writeini abb.ini abbreviations lol Laughing Out Loud
22
/writeini abb.ini abbreviations rofl Rolling On the Floor, Laughing
23
24
;Print a line from abb.ini.
25
//echo -a $readini(abb.ini, n, abbreviations, lol)
26
</pre>