Setconfig » History » Version 5
Per Amundsen, 02/16/2023 03: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 | 5 | 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 | 4 | Per Amundsen | ; Disables timestamp in messages. |
25 | 1 | Per Amundsen | /setconfig Messages UseTimestamp False |
26 | 4 | 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> |