Project

General

Profile

Setconfig » History » Version 4

Per Amundsen, 05/24/2017 04:13 PM

1 1 Per Amundsen
_Added in 1.9.3_
2
3
*/setconfig <section> <option> [value]*
4
5
Modifies a config.ini option and tells AdiIRC to reload the config.ini file.
6
7
/setconfig with no parameters will just reload the config.ini file.
8
9 4 Per Amundsen
_See also [[$readini]], [[$adiircini]]._
10
11
_Same as [[/setoption]],_
12
13 1 Per Amundsen
*Parameters*
14
15
<section> - Section in the config.ini file to edit.
16
<options> - Option under the section in the config.ini file to edit.
17
[value] - Value to insert in the option.
18
19
*Example*
20
21
<pre>
22 4 Per Amundsen
; Disables timestamp in messages.
23 1 Per Amundsen
/setconfig Messages UseTimestamp False
24 4 Per Amundsen
25
; Prints whether use timestamp is on or off.
26
//echo -ag Timestamp is $iif($readini($adiircini, Messages, UseTimestamp) == True,on,off))
27 1 Per Amundsen
</pre>