mIRC Homepage
Posted By: Lloyd_B Notify warning within Query window. - 24/10/09 12:48 AM
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.
Posted By: DJ_Sol Re: Notify warning within Query window. - 24/10/09 12:50 AM
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
Posted By: Horstl Re: Notify warning within Query window. - 24/10/09 01:18 AM
@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).

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
Posted By: argv0 Re: Notify warning within Query window. - 12/01/10 10:07 AM
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.
That was quick! Does this send all log-ons and offs to their own window?

Thank you!
Posted By: argv0 Re: Notify warning within Query window. - 13/01/10 05:30 PM
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)
© mIRC Discussion Forums