Project

General

Profile

Actions

Added in 1.9.0

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

Switches

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

Parameters

Parameter Description
<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 2 years ago · 4 revisions

Also available in: PDF HTML TXT