mIRC Home    About    Download    Register    News    Help

Print Thread
Can the notify list accept wildchars/regexps ? #202495 23/07/08 02:50 PM
Joined: Jul 2008
Posts: 10
R
rjalex Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: Jul 2008
Posts: 10
I am not understanding (and it appears to be false) if the notify list in the address book could support wildchars and/or regexps.

I now have a long stupid list of friends with various suffixes such as:

Bob|AFK
Bob
BobGone
BobATWork

etc.

Thank you

Re: Can the notify list accept wildchars/regexps ? [Re: rjalex] #202505 23/07/08 06:23 PM
Joined: Jun 2008
Posts: 58
P
Pivo Offline
Babel fish
Offline
Babel fish
P
Joined: Jun 2008
Posts: 58
I do not think wildcards are possible in that case, because mIRC's notify feature uses the WATCH function of the irc servers.
As far as I can remember, WATCH does not support wildcards, only the full name...
Otherwise, it would be possible to find out every connected person on an irc server.

Re: Can the notify list accept wildchars/regexps ? [Re: rjalex] #202515 23/07/08 10:14 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I don't know about regular expressions, although I'm doubting that they will work, but I do know that wildcards will not work.

If you have a long list, such as you posted, you might be smarter to use a notify script rather than the notify list.

Re: Can the notify list accept wildchars/regexps ? [Re: RusselB] #202526 24/07/08 12:27 AM
Joined: Feb 2008
Posts: 34
mbab Offline
Ameglian cow
Offline
Ameglian cow
Joined: Feb 2008
Posts: 34


If you have a long list, such as you posted, you might be smarter to use a notify script rather than the notify list.
[/quote]


Do you mind sharing that script in this or some other thread?:)

Thanks.

Re: Can the notify list accept wildchars/regexps ? [Re: rjalex] #202527 24/07/08 12:31 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
For those who *actually* read the help file in this day and age:

Originally Posted By: mirc.hlp
Note: Some IRC networks might let you use a full address instead of just a nickname, the only way to see if it works is to try it out.


In the above case, wildcard matches would work. Again, it depends on the server as the help file says, and I've never encountered one of those myself.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"