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.

auto join server

Old posts that have not been replied to for several years.
Locked
T
TwoSheds88

auto join server

Post by TwoSheds88 »

I use quakenet, and the Q and L bots there op people when they enter channels that that they own.

I was wondering if anyone could tell me how to make eggdrop type the command to auth upon joining the server.

this is what i have so far :-
# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i-ws"
putquick "MSG q@cserve.quakenet.org AUTH ShedBot **PASSWORD**"
}
this doesnt appear to work. does anyone know why?

thanks in advance for any help,
TwoSheds
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

It should be putquick "PRIVMSG q@cserve.quakenet.org :AUTH ShedBot **PASSWORD**" notice that I've replaced MSG with PRIVMSG and after the destination of the msg I've added :
Once the game is over, the king and the pawn go back in the same box.
T
TwoSheds88

Post by TwoSheds88 »

thankyou very much. i assumed that command would be same syntax as irc :P

TwoSheds
Locked