Project

General

Profile

Writeini » History » Revision 2

Revision 1 (Per Amundsen, 02/15/2014 06:24 PM) → Revision 2/4 (Per Amundsen, 12/24/2019 12:54 PM)

_Added *Added in 1.9.0_ 1.9.0* 

 */writeini [-n] <inifile> <section> <item> <value>* 

 *Switches* 

 -n - Forces AdiIRC to write to an INI file, even if it's bigger then 64k (obsolete) 

 *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>