Project

General

Profile

Setoption » History » Revision 3

Revision 2 (Per Amundsen, 04/28/2015 05:22 PM) → Revision 3/4 (Per Amundsen, 05/24/2017 04:13 PM)

_Added in 1.8.9_ 

 */setoption <section> <option> [value]* 

 Modifies a config.ini option and tells AdiIRC to reload the config.ini file. 

 /setoption with no parameters will just reload the config.ini file. 

 _See also [[$readini]], [[$adiircini]]._ 

 _Same as [[/setconfig]],_ 

 *Parameters* 

 <section> - Section in the config.ini file to edit. 
 <options> - Option under the section in the config.ini file to edit. 
 [value] - Value to insert in the option. 

 *Example* 

 <pre> 
 ; Disables ;Disables timestamp in messages. messages 
 /setoption Messages UseTimestamp False 

 ; Prints whether use timestamp is on or off. 
 //echo -ag Timestamp is $iif($readini($adiircini, Messages, UseTimestamp) == True,on,off)) 
 </pre>