Project

General

Profile

Actions

Writeini » History » Revision 3

« Previous | Revision 3/4 (diff) | Next »
Per Amundsen, 12/22/2021 06:12 PM


Added in 1.9.0

/writeini [-nz] <inifile> <section> <item> <value>

Switches

-n - Forces AdiIRC to write to an INI file, even if it's bigger then 64k (obsolete)
-z - Allow writing empty <value>.

Parameters

<inifile> - The file to write to.
<section> - The section to write.
<item> - The item to write.
<value> - The value to write.

Example

;Write a few items to a file.
/writeini abb.ini abbreviations lol Laughing Out Loud
/writeini abb.ini abbreviations rofl Rolling On the Floor, Laughing

;Print a line from abb.ini.
//echo -a $readini(abb.ini, n, abbreviations, lol)

Updated by Per Amundsen almost 3 years ago · 3 revisions

Also available in: PDF HTML TXT