egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop to join a channel with a key?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Thu Apr 06, 2006 1:56 am    Post subject: Reply with quote

eltech wrote:
great welcome to the n00b ... thanks.. i'll read up

Wink your welcome
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Feb 22, 2007 4:18 pm    Post subject: Reply with quote

Since I just had trouble doing this, I'll post what worked for me, and what didn't.

What didn't was everything before this post, setting need-key to join #chan password does not work (at least for me).

What I did do was modify it to look like every other need- setting I already have.

Code:
.chanset #channel need-key putserv "JOIN #channel password"
and the bot instantly joined the channel in question.

My other FreeNode-based settings are as follows (your bot has to be channel admin/etc):
Code:
.chanset #channel need-op putserv "CS OP #channel"
.chanset #channel need-invite putserv "CS INVITE #channel"
.chanset #channel need-unban putserv "CS UNBAN #channel"

These are for FreeNode, CS is a server command for sending commands to ChanServ without using /msg, there is also NS for NickServ, etc.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Feb 22, 2007 4:32 pm    Post subject: Reply with quote

I guess that's what demond initially meant in hist post. "join #channel key" is a TCL code and does not mean that the bot will join #channel. So of course, you have to use putserv "join #channel key" as incith said. (I wonder how we didn't notice this initially)
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
JiiPee
Voice


Joined: 26 Nov 2006
Posts: 1

PostPosted: Mon Mar 29, 2010 1:04 pm    Post subject: Reply with quote

demond wrote:
use .+chan command and then set need-key setting to:
Code:

.chanset #blah need-key join #blah thekey

naturally, if the key changes, you'll need either to do .chanset again, have someone invite the bot, or better yet, have another bot on channel and run botnetop.tcl on all bots (for automatic key exchange when needed)


Correction to this, right command would be:

.chanset #foo need-key putquick "join #foo bar"

"join" is tcl command, not eggdrop command to join channel, that why it's not working.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Mar 29, 2010 1:32 pm    Post subject: Reply with quote

JiiPee, I belive this was covered a few posts back (and quite a few years back). Further, "putquick" is the tcl command, the rest is sent to the remote irc server. Hence, "join" is an irc command. As for "eggdrop command", I'm not sure what you are referring to...

That said, Welcome to the egghelp.org forum.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber