I'm writing a small script, that has to put some information about a user into a database when he joins a channel and erase these information when he leaves it. so I used some code like this:
but none of these bindings is triggered when a user is joining or parting. the procedures for kicks, nickchanges and signoffs don't work either, although I've build the procedures like it's said in the eggdrop documentation.
eggdrop is as of version 1.6.18
is there any setting in the config or somewhere else, which could cause this or am I doing something wrong in the code?
Description: triggered by someone joining the channel. The mask in
the bind is matched against "#channel nick!user@host" and can
contain wildcards.
Module: irc
--
I've used this and not had a problem:
bind join - "$channel *!*@*" myproc
just tried it in the way you said...it doesn't work either
edit:
ok...I think I solved my problem...somehow the channel my bot was in didn't properly tell the bot that somebody joined or something like this...I switched the channel and now it works...
I'm lucky that the channel which didn't worked was just the test chan
only gets triggered when my own bot (running this piece of code) enters a channel, not when someone else is joining the channel.
But after i remove a channel and re-add it (.-chan #testchannel and .+chan #testchannel) suddenly the bind gets triggered when someone is joining the channel - until i restart/rehash eggdrop..
Any ideas/hints? Searched the whole afternoon without success :/
Which irc network are you using?
Some networks support "odd" features that sometimes causes your bot to loose track of channels...
Also, are you using any "extended" chars in your channel-name?
And for the bind-mask, "*" would match anything matched by "*!*@*".