Anope IRC Services

Anope.org => Anope General => Topic started by: Jenni Palmer on February 15, 2012, 04:17:21 AM

Title: Eggdrop and Anope
Post by: Jenni Palmer on February 15, 2012, 04:17:21 AM
Hello,
I am setting up an eggdrop bot for my channel on a server running anope services. If I wanted it to do channel management stuff  are there settings I need to adjust and I cant find this myself but how do i make it ident to nickserv? I didn't find it in the config file.  I am just learning all this stuff so some of it may be under my nose and I just don't know it. but I appreciate the patience and help.
Title: Re: Eggdrop and Anope
Post by: Adam on February 15, 2012, 04:19:50 AM
You can configure the eggdrop to identify on connect, theres an on-connect part of the config iirc. Also you will want to add nickserv/chanserv/botserv/whatnot to the eggdrop and inform it they are services so the eggdrop does not try to fight with services.
Title: Re: Eggdrop and Anope
Post by: CrazyCat on February 19, 2012, 09:07:51 AM
You can use this small script:
Code: [Select]
namespace eval AnopIdent {
    variable nickserv "NickServ"
    variable nspass "mypass"
   
    bind notc - "*IDENTIFY*" AnopIdent::ident
}
proc AnopIdent::ident {nick uhost handle text {dest ""}} {
   if {$dest == ""} { set dest $::botnick }
   if {[string tolower $nick]!=[string tolower $AnopIdent::nickserv]} { return 0 }
   putserv "PRIVMSG $AnopIdent::nickserv :identify $AnopIdent::nspass"
   return 0
}
putlog "Initialization loaded"
Title: Re: Eggdrop and Anope
Post by: TheMaker on February 19, 2012, 09:16:21 AM
My apologies as this is unrelated but;
I'm in such a good mood! Good morning everyone, hope everyone's awesome :D