mIRC Home    About    Download    Register    News    Help

Print Thread
Notify and Network #243454 21/11/13 05:56 PM
Joined: Mar 2004
Posts: 526
HorseC Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Mar 2004
Posts: 526
I think (could be wrong), that you can not add the same nickname twice for different networks. It would be nice if we could, since the same nick could be used by different people on two networks, and one might want to be able to distinguish the difference in the two, and then in some way, in an on notify, display function show the notes associated with the nick to know which one it is. (to sort of jog memory on the nick)
(Hope someone knows what I am trying to suggest/say)

Thanks.


Help others! It makes the world a better place, Makes you feel good, and makes you Healthy!
Re: Notify and Network [Re: HorseC] #243602 02/12/13 11:15 PM
Joined: Oct 2012
Posts: 164
D
Deega Offline
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2012
Posts: 164
Well, that suggestion has merit.

At the moment you can't add the same nick twice, as you said, but you can add multiple networks to a notify entry.

So, if you use the NOTE to add descriptions like this (I used $chr(1) here)
Efnet This is Alice from Wonderland  Dalnet This is Bilbo Baggins [ more ...]
you could display the relevant section from an on notify event.

Code:
on ^*:notify:{
  if $numtok($notify($nick).network,44) > 1 && $wildtok($notify($nick).note,* $+ $network $+ *,1,1) {
    var %a = $v1
    echo -stmc notify * $nick is on IRC $iif($notify($nick).addr,$+([,$v1,])) ( $+ %a $+ )
    halt
  }
}


Re: Notify and Network [Re: Deega] #243616 04/12/13 09:55 AM
Joined: Mar 2004
Posts: 526
HorseC Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Mar 2004
Posts: 526
great idea! but rather than echo, I used a $tip, sometimes im on several networks at once, using the tip makes is so I spot the info now matter which network I am looking at at the time of the connect by a user on my notify list.


Help others! It makes the world a better place, Makes you feel good, and makes you Healthy!