mIRC Homepage
Posted By: mra7med HELP : nickname color - 11/03/18 08:34 PM
Hi!
Can anyone please help me?
I want mIRC shows men in blue and women in red color
Here is an example

[juin369!juin369@masked-e3i.0db.101.105.IP] * 25 M France
In the full name the letter M stands for Male

and for women..

MARIEE!MARIEE@masked-bj7.h7b.249.41.IP] * 34 F Autre-pays
the letter F stands for Female

So is there anyone please can make me a nick color script

Sorry for my bad English
Posted By: maroon Re: HELP : nickname color - 12/03/18 12:45 AM
I'm not sure where this is coming from. Is this twitch? If this line is contained in $1- where each number is the Nth "word", it looks like M/F is the 5th "word", so if that's true, it would be:

/cline -m $iif($5 == M,2,4) #Name_of_the_channel $mid($gettok($1,1,33),2)

This assumes the $5 5th word is either M or F, and assumes blue is 2 and red is 4. If the word is something else besides M or F it takes 4 too.

The last part needs to parse the $1 first word to take everything to the left of the "!" beginning with the 2nd character.
© mIRC Discussion Forums