$randomcolors » History » Version 2
Per Amundsen, 02/23/2023 07:27 PM
1 | 1 | Per Amundsen | _Added in 1.9.3_ |
---|---|---|---|
2 | |||
3 | *$randomcolors* |
||
4 | |||
5 | Returns random colors option as bitflag. |
||
6 | |||
7 | 2 | Per Amundsen | *Returns* |
8 | |||
9 | table(ktable). |
||
10 | |*Value*|*Description*| |
||
11 | 1 | Per Amundsen | 0 = Off |
12 | 1 = Message |
||
13 | 2 = Nicklist |
||
14 | |||
15 | *Example* |
||
16 | |||
17 | <pre> |
||
18 | ; Check if random colors is enabled for messages. |
||
19 | //if ($randomcolors & 1) echo -ag Random colors is enabled for messages |
||
20 | |||
21 | ; Check if random colors is enabled for nicklist. |
||
22 | //if ($randomcolors & 2) echo -ag Random colors is enabled for nicklist |
||
23 | </pre> |