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.

GozBOT 2.1 TCL error

Old posts that have not been replied to for several years.
Locked
S
Shorty

Post by Shorty »

Hi, I'm getting this error everytime someone leaves the channel:
TCL error [part_saveseen]: called "part_saveseen" with too many arguments

the part where it calls for the proc is this:
proc part_saveseen {nick host hand chan} {
setuser $hand XTRA GOZBOT_SEEN "part $chan [unixtime]"

And the bind is:
bind part p * part_saveseen

Is anyone running GozBOT 2.1 on version 1.6.8 of Eggdrop that hasn't haven't a problem with the seen part?

btw, even with the seen disabled I still get that error. Only with all the GozBOT scripts disabled that this weird error disappears.

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

Post by Petersen »

as the error says, the proc is called with to many arguments. thus it is defined with too few arguments. part bindings pass 5 bindings to their procs, and that one only has 4 defined.

proc part_saveseen {nick host hand chan msg} {
S
Shorty

Post by Shorty »

Thanks man.
Working like a charm. :)

Cheers
Locked