egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

One "join" triggers proc twice..

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
cimeran
Voice


Joined: 04 Mar 2011
Posts: 9

PostPosted: Fri Mar 11, 2011 9:31 pm    Post subject: One "join" triggers proc twice.. Reply with quote

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.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Mar 12, 2011 1:29 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber