mIRC Home    About    Download    Register    News    Help

Print Thread
#13584 28/02/03 04:30 PM
Joined: Feb 2003
Posts: 4
W
wrath Offline OP
Self-satisified door
OP Offline
Self-satisified door
W
Joined: Feb 2003
Posts: 4
i used to use a piece of script in mIRC 5.8 to color the channel nicks list and whatnot using a colornicks alias, i finally upgraded to 6.03 and it no longer works. i'll paste the code:

on *:JOIN:#: {
colornicks $chan
}
on *:OP:#: {
if ($me) { colornicks $chan | halt }
colornicks $chan
}
on *:DEOP:#: {
if ($me) { colornicks $chan | halt }
colornicks $chan
}
on *:VOICE:#: {
if ($me) { colornicks $chan | halt }
colornicks $chan
}
on *:DEVOICE:#: {
if ($me) { colornicks $chan | halt }
colornicks $chan
}
on *:SERVEROP:#: {
colornicks $chan
}
alias colornicks {
%chan = $iif($1,$1,$active)
%do = $nick(%chan,0)
while (%do) {
cline $iif($nick(%chan,%do) isop %chan,14,$iif($nick(%chan,%do) isvo %chan,0,15)) %chan $nick(%chan,%do)
dec %do }
}

-- can anyone tell me what changed to make this no longer work and how to fix it?


Edit:
ok. fixed it, was primarily my own stupidity. but it doesnt highlight the names in the selected colors in the channel window anymore. is this due to settings or do i need to add new code? ops should be dark gray, and voiced white, while light gray is for regular users.

Last edited by wrath; 28/02/03 05:40 PM.
#13585 01/03/03 02:00 AM
Joined: Dec 2002
Posts: 111
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 111
if ($nick == $me) <---- try that


Experience The Void.. Are You Ready?
#13586 01/03/03 02:52 AM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Why not use the inbuilt nick coloring? smile
Press Alt+B to get to the Address Book, then go to the "Nick" tab.
/help nick colors

#13587 01/03/03 06:07 PM
Joined: Feb 2003
Posts: 4
W
wrath Offline OP
Self-satisified door
OP Offline
Self-satisified door
W
Joined: Feb 2003
Posts: 4
no go. you dont need the $nick == anyways, or didnt for 5.8. i think its still the same rules for the most part. i just cant figure out why this wont work. thanks for the input though.

#13588 01/03/03 06:09 PM
Joined: Feb 2003
Posts: 4
W
wrath Offline OP
Self-satisified door
OP Offline
Self-satisified door
W
Joined: Feb 2003
Posts: 4
i dont think you understand what im trying to do. that wont work. in the channel, i want ops to highlight in dark gray, and voiced in white. cant do both from there that i know of... if im wrong please correct me and let me know how.

#13589 01/03/03 06:23 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Addressbook - "Nick" tab - "Add"

You can colour for nicks, addresses, whether a nick is on ignore or not, whether a nick is idle or not, etc. Shame there's only 16 concurrent colours. frown

#13590 01/03/03 06:57 PM
Joined: Feb 2003
Posts: 4
W
wrath Offline OP
Self-satisified door
OP Offline
Self-satisified door
W
Joined: Feb 2003
Posts: 4
can i add colors for all channel operators and all vioced users or do i have to enter the nicks individually? actually is there a command to add a user to it from say a piece of script?

#13591 02/03/03 04:01 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
You wouldn't want to add individual ops or their addresses to your address book/Nick list. You can add different color choices (as a group) for:

* idle op
* op
* idle voice
* voice
* idle regular
* regular

You can also add individual colors for different userlevels and specific addresses, as well.

Keep in mind that the order in which they appear in that list is important. For instance, if you have the idle op color underneath the regular idle color, the regular op color will always be in effect because mIRC matches the op color first.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C

Link Copied to Clipboard