Project

General

Profile

Writeini » History » Revision 3

Revision 2 (Per Amundsen, 12/24/2019 12:54 PM) → Revision 3/4 (Per Amundsen, 12/22/2021 06:12 PM)

_Added in 1.9.0_ 

 */writeini [-nz] [-n] <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* 

 <pre> 
 ;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) 
 </pre>