Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Eggdrop and Anope  (Read 4892 times)

0 Members and 1 Guest are viewing this topic.

Jenni Palmer

  • Anope User
  • Offline Offline
  • Posts: 1
Eggdrop and Anope
« 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.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Eggdrop and Anope
« Reply #1 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.
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 203
    • French Eggdrop community
Re: Eggdrop and Anope
« Reply #2 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"

TheMaker

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Eggdrop and Anope
« Reply #3 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
Logged
Pages: [1]   Go Up