mIRC Home    About    Download    Register    News    Help

Print Thread
Colourising Nicks In Nicklist #134776 04/11/05 05:32 PM
Joined: Oct 2003
Posts: 7
J
Joe_Astor Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Oct 2003
Posts: 7
I was curious, the script I am using at the moment alerts me when an IRCOp joins any of my channels and colours them a different colour to the rest of the users in the channel.

I was just wondering if someone could tell me how it differentiates between a regular user and an oper to do this.

Would it /who or /whois the user on joining and look for their oper flag, if you will, and act accordingly to that?

If I could get a clue to the start of the process, or an example if one is available I could work from there.

Anyhow. Any help anyone could offer me would be greatly appreciated smile


When Joe Astor Hits The Street,
The Hottest Thing On Wheels Isnt Always The Car
Re: Colourising Nicks In Nicklist #134777 04/11/05 05:58 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
I would assume that it does use /whois to check the status of the user when they join. What you can do is to do a search in your script(s) for "cnick". That would be the command to color the nick in the nicklist. Then, backtrack from there to find the IF that tells it to color the nick.


Invision Support
#Invision on irc.irchighway.net
Re: Colourising Nicks In Nicklist #134778 05/11/05 10:37 AM
Joined: Oct 2003
Posts: 7
J
Joe_Astor Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Oct 2003
Posts: 7
That didnt give me any fruitful results frown

But I think I might have figured out a way to do it, thanks for the help smile

Last edited by Joe_Astor; 05/11/05 11:08 AM.

When Joe Astor Hits The Street,
The Hottest Thing On Wheels Isnt Always The Car