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.
Old posts that have not been replied to for several years.
-
cez
- Voice
- Posts: 10
- Joined: Mon May 26, 2003 5:19 pm
Post
by cez »
is it possible to automagically change the need-key via tcl. i was thinking about something like this:
bind mode - "*+k*" key_change
proc key_change { nick uhost hand chan mc key } {
chanset $chan need-key putserv "join #$chan $key"
putlog "new key $victim"
}
-
ppslim
- Revered One
- Posts: 3914
- Joined: Sun Sep 23, 2001 8:00 pm
- Location: Liverpool, England
Post
by ppslim »
Yes.
You are allmost there, it is just the commands in use that need slight changing.
See tcl-commands.doc on the "channel" command (search the file for "channel set" to be more precise).