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.
-
snow-ball
- Voice
- Posts: 22
- Joined: Fri Oct 26, 2001 8:00 pm
Post
by snow-ball »
set checkchannel "#testchannel"
#
bind nick - * nick:change
proc nick:change { nick host hand chan newnick } {
global checkchannel
if {$chan == $checkchannel} {
putserv "kick $chan $newnick :You are Banned!!"
}
}
Tcl error [nick:change]: called "nick:change" with too many arguments
<font size=-1>[ This Message was edited by: snow-ball on 2002-06-23 11:50 ]</font>
-
ppslim
- Revered One
- Posts: 3914
- Joined: Sun Sep 23, 2001 8:00 pm
- Location: Liverpool, England
Post
by ppslim »
Read the tcl-commands.doc document.
It tells you exactly what you should be using as arguments in the nick bind.