mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 24
L
Laban Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 24
It would be great to be able to pick which network a Notification should apply to. I want to know when Person on network X connects, not on network Y and Z. Something for the todo-list eh? grin


!ERAU QSSI DLRO WEHT
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
This has been suggested before.

For now, you could use the [note] parameter of the notify list to store the network.


New username: hixxy
Joined: Dec 2002
Posts: 24
L
Laban Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 24
But that won't filter it, will it?


!ERAU QSSI DLRO WEHT
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
No, I assumed you'd got your own notify system and didn't use the normal method of listing (/notify -l)


New username: hixxy
Joined: May 2004
Posts: 27
N
Ameglian cow
Offline
Ameglian cow
N
Joined: May 2004
Posts: 27
Code:
 
alias notifyl {
if ($1 = onlines) {
scon $scon($activecid)
var %x 1
while ($notify(%x)) {
if ($notify(%x).ison) && ($notify(%x).note = $network) echo -a $notify(%x) on $network
inc %x
}
}
if ($1 = add) && ($2) && ($3) notify $2 $3
}

/notifyl add nick network
/notifyl onlines


---

Nixor's - http://xoniq.tk

Link Copied to Clipboard