Project

General

Profile

$randomcolors » History » Revision 2

Revision 1 (Per Amundsen, 08/06/2015 05:37 AM) → Revision 2/3 (Per Amundsen, 02/23/2023 07:27 PM)

_Added in 1.9.3_ 

 *$randomcolors* 

 Returns random colors option as bitflag. 

 *Returns* 

 table(ktable). 
 |*Value*|*Description*| 
 0 = Off 
 1 = Message 
 2 = Nicklist 

 *Example* 

 <pre> 
 ; Check if random colors is enabled for messages. 
 //if ($randomcolors & 1) echo -ag Random colors is enabled for messages 

 ; Check if random colors is enabled for nicklist. 
 //if ($randomcolors & 2) echo -ag Random colors is enabled for nicklist 
 </pre>