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.

strange problem with adduser

Old posts that have not been replied to for several years.
Locked
i
itsme

strange problem with adduser

Post by itsme »

Hello,

Using .adduser on the partyline works ok, however
using adduser from within a script does not work, here's the output from the partyline:
I use this VoiceAllBut script v1.02 by David Proper
using this script asis I get the following error:

Tcl error [pub_vab]: called "adduser" with too many arguments

if I remove the hostmask part from the arguments so adduser is called with 1 argument ie: nick then I get following error:

Tcl error [pub_val]: too many nested calls to Tcl_EvalObj (infinite loop?)

I have the same when I try to make a msg bind like this:

bind msg register - reg_user
proc reg_user {nick uhost handle text} {
adduser $text
}

Someone got an Idea?
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

The code you posted is not the code causing the error. The proc names are totally different.
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Additionally, in the register snippet the bind you show is not correct.

Code: Select all

bind msg register - reg_user

should be

bind msg - register reg_user 
Considering the adduser problem, my wild guess is that this command has been redefined somewhere in a tcl. But can't say much without seeing code.
Locked