MoonScript IRC — File Browser
MoonScriptIRCv3.0 / MoonScriptIRCv3.0 / system / colnicks.mrc
colnicks.mrc — 4.92 KB — Download this file
#NickListColor on
on *:join:#: ovColor
on *:part:#: ovColor
on *:op:#: ovColor
on *:deop:#: ovColor
on *:voice:#: ovColor
on *:devoice:#: ovColor
on *:mode:#: ovColor
on *:text:*:#: ovColor
on *:action:*:#: ovColor
#NickListColor end
alias ovsetup {
set %oc.sop 06 | set %oc.aop 05 | set %oc.av 07 | set %oc.mycol 10 | set %oc.opscol 03 | set %oc.vocol 14 | set %oc.normcol 01 | ovcc
}
alias ovColor {
set %oc 0
:ocloopin
inc %oc 1
if ($nick($chan,%oc) == $null) { goto ocloopout }
if ($nick($chan,%oc) == $me) { cline %oc.mycol $chan $nick($chan,%oc) | goto ocloopin }
if ($nick($chan,%oc) isop $chan) { cline %oc.opscol $chan $nick($chan,%oc) | goto ocloopin }
if ($nick($chan,%oc) isvo $chan) { cline %oc.vocol $chan $nick($chan,%oc) | goto ocloopin }
if (($nick($chan,%oc) !isop $chan) && ($nick($chan,%oc) !isvo $chan) && ($nick($chan,%oc) != $me)) { cline %oc.normcol $chan $nick($chan,%oc) }
goto ocloopin
:ocloopout
unset %oc
}
alias ovColornone {
set %oc 0
:ocloopin
inc %oc 1
if ($nick($chan,%oc) == $null) { goto ocloopout }
else { cline 1 $chan $nick($chan,%oc) }
goto ocloopin
:ocloopout
unset %oc
.disable #NickListColor
}
alias ovColorrandom {
set %oc 0
:setColors
set %oc.opcol $rand(1,15) | set %oc.mycol $rand(1,15) | set %oc.vocol $rand(1,15) | set %oc.normcol $rand(1,15)
:ocloopin
inc %oc 1
if ($nick($chan,%oc) == $null) { goto ocloopout }
if ($nick($chan,%oc) == $me) { cline %oc.mycol $chan $nick($chan,%oc) | goto ocloopin }
if ($nick($chan,%oc) isop $chan) { cline %oc.opscol $chan $nick($chan,%oc) | goto ocloopin }
if ($nick($chan,%oc) isvo $chan) { cline %oc.vocol $chan $nick($chan,%oc) | goto ocloopin }
else { cline %oc.normcol $chan $nick($chan,%oc) }
goto ocloopin
:ocloopout
unset %oc
}
alias ovColorchart { echo -a 12>>>3 NickList Color Chart: | echo -a 1,0 0 0,1 1 0,2 2 0,3 3 0,4 4 0,5 5 0,6 6 0,7 7 1,8 8 1,9 9 0,10 10 1,11 11 0,12 12 0,13 13 0,14 14 0,15 15 }
menu channel {
.-
-
&Colored Nicks
.&Initiate:ovColor | echo -a 12>>>3 NickName List Color has been 3Initiated 12<<<
.&None:ovColornone | echo -a 12>>>3 NickName List Color is now set to 6Normal 12<<<
.&Auto-Update Colors
..&On:.enable #NickListColor | echo -a 12>>>3 NickName List Auto-Update Color is now 4On 12<<<
..&Off:.disable #NickListColor | echo -a 12>>>3 NickName List Auto-Update Color is now 4Off 12<<<
..&Help:echo -a 12>>>3 The Auto-Update Colors function will automatically update the Colors in the NickName List whenever someone joins/parts a channel or when there is an Op/Deop/Voice/Devoice in the channel 12<<< | echo -a 12>>>3 Recommended Setting: 4 On 12<<<
.&Set Colors
..&Personal User Lists
...&Super-Op Color:ovcc | echo -a 12>>>3 Super-Op Color --> Current Setting: $chr(3) $+ %oc.sop $+ $me 12<<< | set %oc.sop $$?="Super-Op: Enter Number of Color" | ovColor
...&Auto-Op Color:ovcc | echo -a 12>>>3 Auto-Op Color --> Current Setting: $chr(3) $+ %oc.aop $+ $me 12<<< | set %oc.sop $$?="Auto-Op: Enter Number of Color" | ovColor
...&Auto-Voice Color:ovcc | echo -a 12>>>3 Auto-Voice Color --> Current Setting: $chr(3) $+ %oc.av $+ $me 12<<< | set %oc.sop $$?="Auto-Voice: Enter Number of Color"| ovColor
...&Help:echo -a 12>>>3 Help: These options let you specify the Color you would like for nicknames that exist on your Personal User Lists (Super-Ops, Auto-Ops and Auto-Voices) 12<<<
..&My Color:ovcc | echo -a 12>>>3 My Color --> Current Setting: $chr(3) $+ %oc.mycol $+ $me 12<<< | set %oc.mycol $$?="Me: Enter Number of Color" | ovColor
..&Ops Color:ovcc | echo -a 12>>>3 Ops Color --> Current Setting: $chr(3) $+ %oc.opscol $+ $me 12<<< | set %oc.opscol $$?="Op: Enter Number of Color" | ovColor
..&Voice Color:ovcc | echo -a 12>>>3 Voice Color --> Current Setting: $chr(3) $+ %oc.vocol $+ $me 12<<< | set %oc.vocol $$?="Voice: Enter Number of Color" | ovColor
..&Other Color:ovcc | echo -a 12>>>3 Normal User Color --> Current Setting: $chr(3) $+ %oc.normcol $+ $me 12<<< | set %oc.normcol $$?="Normal: Enter Number of Color" | ovColor
..&All Random:echo -a 12>>>3 Random Colored Nicks --> The Auto-Update feature will be turned off 12<<< | echo -a 12>>>3 You will need to re-active it when you turn off the random Colored nicks 12<<< | ovColorrandom | echo 12>>> $ifct(Random) 3NickName List Color is now 4On10 12<<< | echo -a 12>>>3 To set the Colors to Individual Mode select Initiate from the Colored Nicks Menu 12<<< | .disable #NickListColor.Update
..&Help:echo -a 12>>>3 These options allow you to set the Color you want for the position of each person on a channel. If they are an Op in a channel their Color will be what you set it as in this menu. The same will apply for Voiced users, yourself, and the other regular nicknames in the NickName List 12<<<
}
alias ovc ovColor
alias ovcc ovColor chart