autoidentify - dotfiles - leot's dotfiles
 (HTM) hg clone https://bitbucket.org/iamleot/dotfiles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       autoidentify
       ---
            1 alias .freenode_identify ^msg NickServ IDENTIFY $FREENODE_PASSWD
            2 alias .oftc_identify ^msg NickServ IDENTIFY $OFTC_PASSWD
            3 alias .bitlbee_identify ^msg NickServ IDENTIFY $BITLBEE_PASSWD
            4 
            5 on ^notice "NickServ % This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>." {
            6         echo $1 *$0* $2-
            7         if (match(*.freenode.net $S) && match($FREENODE_NICK $N)) {
            8                 timer 1 .freenode_identify
            9         }
           10 }
           11 
           12 on ^notice "NickServ % This nickname is registered and protected.  If it is your nickname, you may" {
           13         echo $1 *$0* $2-
           14         if (match(*.oftc.net $S) && match($OFTC_NICK $N)) {
           15                 timer 1 .oftc_identify
           16         }
           17 }
           18 
           19 on ^372 "* This server is running BitlBee *" {
           20         echo $2-
           21         if (match(localhost $S) && match($BITLBEE_NICK $N)) {
           22                 timer 1 .bitlbee_identify
           23         }
           24 }