Project

General

Profile

$randomcolors » History » Version 1

Per Amundsen, 08/06/2015 05:37 AM

1 1 Per Amundsen
_Added in 1.9.3_
2
3
*$randomcolors*
4
5
Returns random colors option as bitflag.
6
7
0 = Off
8
1 = Message
9
2 = Nicklist
10
11
*Example*
12
13
<pre>
14
; Check if random colors is enabled for messages.
15
//if ($randomcolors & 1) echo -ag Random colors is enabled for messages
16
17
; Check if random colors is enabled for nicklist.
18
//if ($randomcolors & 2) echo -ag Random colors is enabled for nicklist
19
</pre>