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.

One "join" triggers proc twice..

Help for those learning Tcl or writing their own scripts.
Post Reply
c
cimeran
Voice
Posts: 9
Joined: Fri Mar 04, 2011 11:52 pm

One "join" triggers proc twice..

Post by cimeran »

Howdy folks. Really new to tcl and eggdrop and struggling a bit. I have a bind join like so:

bind join - * [namespace current]::join_proc

In my join_proc I do this:
putlog "Recieved $user $handle $chan"

Upon doing a /part followed by a /join in my irc client, I get two lines in the log. Any idea why my one join would trigger the proc twice? Also, I'm certain it is the same "/join" command doing it.

Thanks in advance.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Join-bindings are stackable, so most likely you've got two identical bindings. Try restarting your eggdrop (not .rehash), and see if the behavior persists.
NML_375
Post Reply