TCL error

Old posts that have not been replied to for several years.
Locked
j
jpheur

Post by jpheur »

This script:

proc statsinfo {nick host hand chan} {
global botnick
puthelp "PRIVMSG $chan :Hello, this is test"
}

gives this error: TCL error [statsinfo]: called "statsinfo" with too many arguments

what dows it mean?

P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

means you haven't read doc/tcl-commands.doc and declared the proc with the correct number of arguments for the bind triggering it.
Locked