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.

wrong # args????

Old posts that have not been replied to for several years.
Locked
o
otaku9876

Post by otaku9876 »

ok heres what im doing:

bind join - * joinmesg
proc joinmesg {nick chan} {
.
.
.

but when someone joins it will say:
Tcl error [joinmesg]: wrong # args: should be "joinmesg nick chan"

whats going on???
l
louie

Post by louie »

Quoting from doc/tcl-commands.doc:
bind join <flags> <mask> <proc>
procname <nick> <user@host> <handle> <channel>

for the proc handling the bind join, it takes four arguments supplied to it..

it should be:
proc joinmesg {nick uhost handle chan} {
Locked