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.

Getting op problem

Old posts that have not been replied to for several years.
Locked
O
OpSiS

Getting op problem

Post by OpSiS »

I don't understand why my eggdrop doesn't do the "need-op" stuff...

Here is the code i'm using on config file:

Code: Select all

channel add #PVT {
  chanmode "+nt-likm"
  idle-kick 0
  stopnethack-mode 0
  revenge-mode 0
  aop-delay 5:30
  need-op { putserv "PRIVMSG #PVT :TESTING 123" }
}
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Do you have any other scripts loaded, that are designed to help gain OP's.

These may be overwriting the neep-op setting.
O
OpSiS

Post by OpSiS »

Well i don't, but i have some scripts installed..

How can i find the [censored] that overwrites need-op setting?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

By maybe listing the scripts that you do have loaded!
O
OpSiS

Post by OpSiS »

Code: Select all

source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/compat.tcl
source scripts/userinfo.tcl
source scripts/autoid.tcl
And autoid.tcl is for PTnet identification:

Code: Select all

bind notc - * notc.aid

proc notc.aid {nick uhost hand text dest} {
    global aidnick aidpass aidnotc aidhost botnick
    if {(($uhost == $aidhost) && ([string match *$aidnotc* $text]) && ($botnick == $aidnick))} {
        putserv "nickserv identify $aidpass"
    }
}
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

AH.

Another question, which did cross my mind, I admit.

Is this a fresh start for the bot, or are you making changes, from a previous setup?

If the previous setup method is being used, the problem lies in the channels file as well.

I sugest makignt he change in the config file, rehash the bot, then use ".chanset #channel need-op" on the partyline. Once saved, all should be fine.
O
OpSiS

Post by OpSiS »

Yep!

It worked!!! Thanks a lot! :wink:
Locked