mIRC Home    About    Download    Register    News    Help

Print Thread
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
Joined: Jan 2007
Posts: 1,156
D
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

Joined: Nov 2006
Posts: 1,559
H
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.
Joined: Jan 2010
Posts: 2
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

Joined: Oct 2003
Posts: 3,918
A
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"
Joined: Jan 2010
Posts: 2
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!

Joined: Oct 2003
Posts: 3,918
A
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"

Link Copied to Clipboard