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.

Re-Auth to AuthServ?

Old posts that have not been replied to for several years.
Locked
h
hellek

Re-Auth to AuthServ?

Post by hellek »

Hi!

I am using an eggdrop on Gamesnet, also in a channel that already has a ChanServ.
Sometimes AuthServ seems to forget the Authentication of the Bot and therefore when the bot kicks someone, ChanServ punishes the bot, another bot reops the bot, Chanserv deops again and that happens over and over until I make .restart so that the bot reconnects and reauths.

Are there any scripts that automatically reauth the bot every few minutes or detect if it is not authed any more and reauth then? Or is there a setting which I haven't found?

Hellek
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

Well, a solution would be to make a small script that triggers upon recival of notice from AuthServ that you need to re-auth. Read doc/tcl-command.doc and search for bind types, specifically NOTC.

Else, if AuthServ doesn't send any warning notice that your authentication has expired, just opt for a crude solution and setup a timer.

timer 5 reauth
proc reauth {} {
putserv "PRIVMSG AuthServ :whateve-login-command-here"
timer 60 reauth
}

This will initially call procedure reuth 5 minutes after eggdrop has started, and subsequently every 60 minutes.
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
Locked