mIRC Home    About    Download    Register    News    Help

Print Thread
Notify warning within Query window. #216055 24/10/09 12:48 AM
Joined: May 2006
Posts: 98
L
Lloyd_B Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: May 2006
Posts: 98
I think the topic sounds cryptic so I will explain it the best I can.

When using a Query with someone (Private Message), if that user leaves and they're on your Notify list (IRC Server 'Watch' list), the Query window being used to chat with that person gives you a message stating that person has left IRC (or changed their nick).

I thought of this after PM'ing with people who I wasn't in a channel with and I didn't know they left because I didn't catch the Notify message telling me they left the IRC network.

I'm guessing this may be easy to do. Perhaps having mIRC compare it's Notify information with the current open Query windows and if a person leaves it could just drop the message that we see in the Status window also show up in the Query window of the person that was being chatted with. This would be handy if the Status window is minimized and the 'JohnSmith has left IRC' doesn't get noticed because of that. The message could be seen in the Query window as well.

It's just a suggestion anyway.


Lloyd
Re: Notify warning within Query window. [Re: Lloyd_B] #216056 24/10/09 12:50 AM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
I do that but it has nothing to do with a notify list.

on *:part:#:{
if ($window($nick)) echo $nick $nick has left #
}

on *:kick:#:{
if ($window($nick)) echo $nick $nick has been kicked from #
}


If you want to work your notify list in, check out: $notify(N/nick)

And the on notify event

/help $notify
/help on NOTIFY

Re: Notify warning within Query window. [Re: DJ_Sol] #216057 24/10/09 01:18 AM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
@DJ_Sol
Regarding queries, ain't "quit" more important than "part" or "kick"? Anyway, all these events require a comchan. The request could rather be scripted with the "unotify" (or plain "raw") event.

Edit: missed your edit - nevermind

@Lloyd_B
Though scriptable, I second the idea (e.g. a small checkbox switch at address book:notify:options).


Last edited by Horstl; 24/10/09 01:20 AM.
Re: Notify warning within Query window. [Re: Horstl] #217447 12/01/10 06:59 AM
Joined: Jan 2010
Posts: 2
SunshineDaydream Offline
Bowl of petunias
Offline
Bowl of petunias
Joined: Jan 2010
Posts: 2
I have been searching for a little snippet that would group all my notify messages in a seperate window. This script looks like it is what I need, but not being a scriptor, I wasn't sure how to update it to the onnotice deal.

Would anyone be willing to help?

Thank you smile

Re: Notify warning within Query window. [Re: Lloyd_B] #217451 12/01/10 10:07 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
It's a simple one (two, technically) liner:

Code:
on *:UNOTIFY:if ($window($nick)) echo -t $nick * $nick is offline.
on *:NOTIFY:if ($window($nick)) echo -t $nick * $nick is online.


An option might be useful, but you can just use the above code and be done with it.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: Notify warning within Query window. [Re: argv0] #217462 12/01/10 11:33 PM
Joined: Jan 2010
Posts: 2
SunshineDaydream Offline
Bowl of petunias
Offline
Bowl of petunias
Joined: Jan 2010
Posts: 2
That was quick! Does this send all log-ons and offs to their own window?

Thank you!

Re: Notify warning within Query window. [Re: SunshineDaydream] #217486 13/01/10 05:30 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
As the code shows, it sends it to the query window with the nick if one is open, otherwise you will see it in the status window as you always have.

You can also show notifies in the active window by going to the notify options (Alt+B -> Notify -> Options)


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