Project

General

Profile

Setoption » History » Version 3

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

1 1 Per Amundsen
_Added in 1.8.9_
2
3
*/setoption <section> <option> [value]*
4
5
Modifies a config.ini option and tells AdiIRC to reload the config.ini file.
6
7
/setoption with no parameters will just reload the config.ini file.
8
9 3 Per Amundsen
_See also [[$readini]], [[$adiircini]]._
10
11
_Same as [[/setconfig]],_
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 3 Per Amundsen
; Disables timestamp in messages.
23 1 Per Amundsen
/setoption Messages UseTimestamp False
24 3 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>