NickZ / buttbot

Automatically exported from code.google.com/p/buttbot
0 stars 0 forks source link

No way to identify bot's nick #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As far as I can tell, it's not possible to have the bot do the equivalent of

/msg nickserv identify <password>

Which renders it useless on +v channels. It would be nice to have. I've dug 
around a bit in the source, but I only know basic perl, so no luck...

Original issue reported on code.google.com by Moptop...@gmail.com on 25 Jun 2010 at 8:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Authentication is for wussies

Original comment by mer...@gmail.com on 24 May 2011 at 9:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Add after line 301 buttbot.pl and replace botspass with actual password. On 
ircd's where the nick will changed to Unidentified254334 (some numbers), this 
prevents the nick change from happening.

     if($who eq "NickServ") {
        $msg =~ tr/\0-\37//d; # Removes crazzzzy color codes
        if(index($msg, 'type /msg NickServ IDENTIFY password') > -1) {
             $self->pm_reply($who, "identify botspass");
         }                                             
         return 1;
     }                                                 

Original comment by christop...@gmail.com on 5 Dec 2012 at 9:05