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.

How to auto-execute a command after connecting?

Old posts that have not been replied to for several years.
Locked
N
Noseman

Post by Noseman »

Hello *,

I am using eggdrop 1.6.7 on the quakenet.
There is also a bot called Q on. I registered my eggdrop at Q for the channels where I have Q for.

So, now its on me to do the following command to get authed by Q:

/MSG Q@CServe.quakenet.org AUTH nickname password

I can do this with dcc chat and it works fine. But how can I make the eggdrop do this automatically on each connect to a server.

I read the posts about auth to nickserv, etc... Does it go the same way?

regards, nose...

<font size=-1>[ This Message was edited by: Noseman on 2001-12-22 01:48 ]</font>
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

You could add (or edit) the init-server setting in your bot's config file, which looks like this:

# script to run (if any) when first connecting to a server
set init-server { putserv "MODE $botnick +i-ws" }

And set it to the following:

set init-server { putserv "PRIVMSG Q@CServe.quakenet.org :AUTH nickname password" }

A better option, however, might be to use a tcl script as they tend to act 'smarter'. I seem to remember adding Q / QuakeNet scripts to the tcl archive... try a search for 'q' or 'quakenet'.

<font size=-1>[ This Message was edited by: slennox on 2001-12-22 03:09 ]</font>
N
Noseman

Post by Noseman »

I found 2 scripts. Works fine now.

Thanks a lot!

regards, nose...
Locked