Anope IRC Services
Anope.org => Anope General => Topic started 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.
-
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.
-
You can use this small script:
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"
-
My apologies as this is unrelated but;
I'm in such a good mood! Good morning everyone, hope everyone's awesome :D