mIRC Home    About    Download    Register    News    Help

Print Thread
Z
zerapio
zerapio
Z
I've spent quit some time searching for this bug with no results, sorry if this is a repost.

Many people call me 'z' for short and I want mirc to highlight that. The problem is that along with the letter 'z', mirc alzo highlights things like zzz, z4, and those should not be highlighted. I've tried putting a space in the pattern but then I don't see when someone types z and then enter (just my letter).

This problem has been around since I can remember. I can confirm seeing it on 6.11, 6.12 and I think that on 6.10 too.

Thanks for your time and have a nice day smile

zerapio

D
droi
droi
D
Try ?z?

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
I think this should be in Feature Suggestions. It's not a bug, it's intended to work this way. We just need an extra checkbox like "Match whole word only" in Highlight Add dialog.

In the meantime, you can put %z instead of z in the Highlight list and the following code in Remote:
Code:
on ^*:text:*z*:*: if $istok($strip($1-),z,32) { set -u1 %z $1- }

Z
zerapio
zerapio
Z
Thaks guys, I'll try that when I get home tonight

Z
zerapio
zerapio
Z
It didn't work. The same thing kept happening.

I guess I'll have to wait until that "feature" makes it to a release.

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
Strange, I've tested it and it works fine here. Make sure that remote is activated (type /remote on) and that there aren't other conflicting on TEXT events in the file that contains the particular event. To make sure this isn't the case, put the on TEXT line in a separate file.


Link Copied to Clipboard