Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind RAWT make nick trace inconsistent #1710

Open
BigBadWouf opened this issue Oct 28, 2024 · 1 comment
Open

Bind RAWT make nick trace inconsistent #1710

BigBadWouf opened this issue Oct 28, 2024 · 1 comment

Comments

@BigBadWouf
Copy link

BigBadWouf commented Oct 28, 2024

Hi.

I don't know if is a real issue. I'm running eggdrop 1.10.0 with python.

In a script i have something like this :
joinEvnt = bind("rawt", "*", "JOIN", nickJoin)
nickEvnt = bind("nick", "*", "*", nickChange)
With the two functions :
def nickJoin(mask, keyword, text, tag):
def nickChange(nick, mask, hand, channel, newnick):

With the RAWT bind active, the channel parameter of NICK bind is randomly "*" and onchan(nick) always return 0, like if user disappears. Or, when channel is accessible, the bind is not trigger for all channels.

I've tried to just return 0 in nickJoin, but same results. It's work only if RAWT bind is completely disabled.
Another thing is, when channel is "*", the nick change is not logged in ./eggdrop -n
Same with RAW instead of RAWT.

Not tested in TCL

EDIT: For information, eggdrop is running on channels with 1000+ users

@BigBadWouf
Copy link
Author

BigBadWouf commented Oct 28, 2024

I've tried something like :

def nickJoin(mask, keyword, text):
if keyword == 'JOIN':
[...]
elif keyword == 'NICK':

In this case onchan(nick) or onchan(newnick) return always 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant