This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

chanserv

Old posts that have not been replied to for several years.
Locked
J
JOE
Voice
Posts: 34
Joined: Mon Nov 24, 2003 1:33 am

chanserv

Post by JOE »

Hi Guys
I have a small problem and need a little help.On my server my bot joins 3 channels at the same time.When it joins the 1st channel it dont get ops and when it joins the other 2 channels it does get ops.I think the bot is joining the channel to fast before it can identify to nickserv.Is there a way to add /msg chanserv op #bellchat in the eggdrop conf file that way bot will get oped when it joins the 1st channel.If this can be done can you tell me where to add this at in the conf file.Thanks once again for the help.
User avatar
Clipped
Halfop
Posts: 73
Joined: Fri Jan 24, 2003 2:27 am

Post by Clipped »

.chanset #channel

need-op { putserv "PRIVMSG ChanServ :OP #channel botnick" }
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

just remove the { } from what clipped said and it should work.. or get a script
a.k.a. hellios
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

this will let the bot op its self when it recieves notice "password accepted from nickserv" (make sure you edit *password accept* if its wrong)

Code: Select all

bind notc - "*password accepted*" self:op

proc self:op {nick uhost hand arg dest} {
 if {[string tolower $dest] == [string tolower $::botnick]} {
  foreach chan [channels] {
   if {![botisop $chan]} {
   putserv "PRIVMSG chanserv :op $chan $::botnick"
   }
  }
 }
}
Locked