on *:dialog:cnl:init:0:{
%anim.cnl = 0 | .timer_anim_cnl -m 0 1 anim.cnl | set %cnl.base 1
did -i cnl 4,6,8,10,12,14,16,28 1 White (0)
did -i cnl 4,6,8,10,12,14,16,28 2 Black (1)
did -i cnl 4,6,8,10,12,14,16,28 3 Blue (2)
did -i cnl 4,6,8,10,12,14,16,28 4 Green (3)
did -i cnl 4,6,8,10,12,14,16,28 5 LightRed (4)
did -i cnl 4,6,8,10,12,14,16,28 6 Brown (5)
did -i cnl 4,6,8,10,12,14,16,28 7 Purple (6)
did -i cnl 4,6,8,10,12,14,16,28 8 Orange (7)
did -i cnl 4,6,8,10,12,14,16,28 9 Yellow (8)
did -i cnl 4,6,8,10,12,14,16,28 10 LightGreen (9)
did -i cnl 4,6,8,10,12,14,16,28 11 Cyan (10)
did -i cnl 4,6,8,10,12,14,16,28 12 LightCyan (11)
did -i cnl 4,6,8,10,12,14,16,28 13 LightBlue (12)
did -i cnl 4,6,8,10,12,14,16,28 14 Pink (13)
did -i cnl 4,6,8,10,12,14,16,28 15 Grey (14)
did -i cnl 4,6,8,10,12,14,16,28 16 LightGrey (15)
[color:red] did -ra cnl 21 $c.set(NICKLIST,NICKS) [/color]
did -c cnl 4 $calc(%cnl.me +1)
did -c cnl 6 $calc(%cnl.op +1)
did -c cnl 8 $calc(%cnl.help +1)
did -c cnl 10 $calc(%cnl.voice +1)
did -c cnl 12 $calc(%cnl.reg +1)
did -c cnl 14 $calc(%cnl.notify +1)
did -c cnl 16 $calc(%cnl.ignore +1)
did -c cnl 28 $calc(%cnl.base +1)
if ($group(#cnl) == on) { did -c $dname 17 }
if ($group(#cnl) == off) { did -c $dname 18 | did -b $dname 3,4,5,6,7,8,9,10,11,12,13,14,15,16,28 }
}