| View previous topic :: View next topic |
| Author |
Message |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Thu Apr 06, 2006 1:56 am Post subject: |
|
|
| eltech wrote: | | great welcome to the n00b ... thanks.. i'll read up |
your welcome _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Thu Feb 22, 2007 4:18 pm Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Feb 22, 2007 4:32 pm Post subject: |
|
|
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 |
|
 |
JiiPee Voice
Joined: 26 Nov 2006 Posts: 1
|
Posted: Mon Mar 29, 2010 1:04 pm Post subject: |
|
|
| 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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Mar 29, 2010 1:32 pm Post subject: |
|
|
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 |
|
 |
|