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.

Slow joining on multiple channels

General support and discussion of Eggdrop bots.
Post Reply
M
MADxHAWK
Voice
Posts: 3
Joined: Thu Oct 11, 2007 9:53 am

Slow joining on multiple channels

Post by MADxHAWK »

Hi,

im using an eggdrop as a Statsbot, so it have to join many channels. Now i got the following problem:

If the bot will be restarted it takes up to 2 minutes to join 12 channels, so i cant register the bots nick cause it wont identify itselfe befor it joins all channels. The bot is on the same mashine with the irc server ( unreal + anope )

What can i do to make the bot join the channels faster ?

Hope someone can help me

Greetz

MADxHAWK
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

There's not much you can do. However, i would recommend you do register the bots nickname and just have it identifty on connect or something like that. There is a few scripts in the TCL Archive.
M
MADxHAWK
Voice
Posts: 3
Joined: Thu Oct 11, 2007 9:53 am

Post by MADxHAWK »

Thanks i will take a look, cause all script i found till now wont run befor the bot joins all channels.

Edit: same problem, the ident script will only run after the bot joins the channels :( so it start to change nick.

Greetz

MADxHAWK
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Alter this procedure that is already in your conf file, which initiates as soon as the bot connects to the server:

Code: Select all

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putserv "PRIVMSG NickServ: Identify MyPaSsWoRd"
  putquick "MODE $botnick +i-ws"
}
Depending on how users identify on your network, you may need to alter this further.
M
MADxHAWK
Voice
Posts: 3
Joined: Thu Oct 11, 2007 9:53 am

Post by MADxHAWK »

Hi,

thanks a lot it works great :)

Greetz
MADxHAWK
Post Reply