mIRC Homepage
Posted By: R34N1M4T3D How do you... - 15/09/04 12:41 PM
Well, I've read a few post on how to change <nick> to (nick) or something while chatting, but I've become a little confused. When I use this code that I got from a post *hopes he doesn't get in trouble*
Code:
 on ^*:text:*:*:echo -mbflirt $iif(#,#,$nick) ( $+ $nick $+ ) $1- | haltdef 


It disables the colors I used to identify my friends in the chatroom. I was wondering how to reenable them. Thanks in advance.
Posted By: clutz1572 Re: How do you... - 15/09/04 06:01 PM
hi

i'm a noob with this stuff myself but at a quick glance, i think i see your problem.

echo -mbflirt

you have the -r switch enabled which strips the control codes from the text IE:bold,color,underline,ect,,,,,

i think if you take that out you should be ok..
Posted By: Collective Re: How do you... - 15/09/04 06:12 PM
Try this instead:
on ^*:text:*:*:echo $cnick($nick(#,$nick).pnick).color -mbflirt $iif(#,#,$nick) ( $+ $nick $+ ) $1- | haltdef

clutz1572:
Not entirely correct. -r actually applies the strip settings from mIRC Options, which is probably what he wants, or he wouldn't have enabled stripping at all.

In this case I believe he is referring to the settings in the Colors tab of the address book (Alt+B), which the addition of $cnick will apply (regardless of -r and his strip settings).
Posted By: clutz1572 Re: How do you... - 15/09/04 06:35 PM
ok,
heh like i said i'm a noob too, thanks for the correction on that.

Posted By: R34N1M4T3D Re: How do you... - 16/09/04 01:20 AM
Thanks, script works great, but how would I only be able to highlight their nick instead of their nick and text. sorry for the inconvienience.
© mIRC Discussion Forums