Project

General

Profile

Setoption » History » Version 4

Per Amundsen, 02/16/2023 03:18 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 4 Per Amundsen
table(ktable).
16
|*Parameter*|*Description*|
17
| <section> | Section in the config.ini file to edit. |
18
| <options> | Option under the section in the config.ini file to edit. |
19
| [value] | Value to insert in the option. |
20 1 Per Amundsen
21
*Example*
22
23
<pre>
24 3 Per Amundsen
; Disables timestamp in messages.
25 1 Per Amundsen
/setoption Messages UseTimestamp False
26 3 Per Amundsen
27
; Prints whether use timestamp is on or off.
28
//echo -ag Timestamp is $iif($readini($adiircini, Messages, UseTimestamp) == True,on,off))
29 1 Per Amundsen
</pre>