mIRC Home    About    Download    Register    News    Help

Print Thread
notify popup #144553 11/03/06 05:37 PM
Joined: Feb 2005
Posts: 344
B
Bullseye Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
Hi,

I have a notify popup that tells in a popup when a person in my notiylist connects to a server and joins a channel.
It tells me what server they are connecting but not what channel they join.
How do I let it show the channels they join even if I'm not on that channel.
I have a alias that shows the common chans.
But is there a piece of code that loops through to the channellist and then shows what channels they are on ?

Re: notify popup #144554 11/03/06 05:52 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
The only way i can think of is to /whois the nick u want to get the info from, then gather it true raw, but when someone connect it's no way to tell what channel he/she will join, the notify is only there to let you know your friend connecting to the server, and that you are able to /msg him or her. smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: notify popup #144555 11/03/06 05:54 PM
Joined: Dec 2002
Posts: 1,245
M
MikeChat Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
as part of your notify script you could do a whois on the nick and capture the raw 319 (on my server its 319 anyway)

example
raw 319:*:{ window @notify | echo @notify $2- }

you have now a "popup" of somesort and this could be added to that

to block the rest of the whois look at halting raws 307,311,312,317 and using 318 to reset whatever you use to block the other raws to allow normal "whois" replies to get through (such as enabling and disabling a group)

Re: notify popup #144556 11/03/06 06:46 PM
Joined: Feb 2005
Posts: 344
B
Bullseye Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
thank you both

Re: notify popup #144557 12/03/06 01:39 AM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
The notify function tells you when someone connects to the server. When they have just connected to the server, they aren't on any channels. If you want to perform a whois on them, you should add it in a timer. Something like this perhaps:

Code:
on *:NOTIFY:{
if ($nick == [color:red]BOB[/color]) .timer 1 5 whois $nick
}

(untested)

Then you can block the whois raws if you want. There are numerous examples of blocking raws on this site. Just use the search feature.

-genius_at_work

Re: notify popup #144558 12/03/06 06:14 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
If you want the whois to go automatically, you can specify the + when adding a nick to your notify list

ie: /notify +nick
Quote:
If you prefix a nickname with a + sign then mIRC will do a /whois on the nickname as part of the notify. However, if you do this on too many nicknames then the IRC server might disconnect you for flooding, so it's best to use it only if you really need to.