Nickname coloring problem - 28/09/04 03:52 PM
Hi there.
I'm currently finishing my theme engine and have stumbled across a problem I can't seem to fix.
I want to color nicknames in channel windows (on text/on action events) just like they would be colored in default mIRC without scripts.
What I use now is "$nick($chan,$nick).color", but my problem is that it returns "1" (default text color) if the nick doesn't match any of the entries in the nickname coloring setup of mIRC (ALT+B -> Colors). I need to know if the nick doesn't match any entry so I can skip coloring instead of making it the default text color.
It's quite difficult to explain, I hope you know what I mean...
Suggestions?
Thanks in advance.
I'm currently finishing my theme engine and have stumbled across a problem I can't seem to fix.
I want to color nicknames in channel windows (on text/on action events) just like they would be colored in default mIRC without scripts.
What I use now is "$nick($chan,$nick).color", but my problem is that it returns "1" (default text color) if the nick doesn't match any of the entries in the nickname coloring setup of mIRC (ALT+B -> Colors). I need to know if the nick doesn't match any entry so I can skip coloring instead of making it the default text color.
It's quite difficult to explain, I hope you know what I mean...
Suggestions?
Thanks in advance.