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.
-
G
Guest
Post
by Guest »
proc ::Rescue::init {} {
variable myNamespace
bind part b * ::${myNamespace}::part:check
return 1
}
proc ::Rescue::part:check { nick uhost hand chan } {
$nick $hand $chan "part"
}
...
[21:59:16] Tcl error [::::Rescue::part:check]: called "::::Rescue::part:check" with too many arguments
...
"with too many arguments" whats the Error?
so long
Marc
-
ppslim
- Revered One
- Posts: 3914
- Joined: Sun Sep 23, 2001 8:00 pm
- Location: Liverpool, England
Post
by ppslim »
On newer eggdrop, there is support for part messages. So the the args list should be change to include this.
Vhange the line
Code: Select all
proc ::Rescue::part:check { nick uhost hand chan } {
to
Code: Select all
proc ::Rescue::part:check { nick uhost hand chan {msg ""} } {
This will provide the script with support for this, and also give it the ability to work on older versions of eggdrop.