Inside the event, $cid will be the connection ID for that server connection, but if you want to "get" that nick on a specific network, you should check $network for the desired network name ("TheNetwork" in the code):
Code:
on *:unotify: {
  if (($nick == pear) && ($network == TheNetwork)) { nick $nick }
}
And make sure you've added "pear" to your notify list for this network: /notify -n pear TheNetwork

Last edited by Horstl; 26/03/09 09:08 PM.