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.

Long nicks - handlen not recognised?

General support and discussion of Eggdrop bots.
Post Reply
s
silenus
Voice
Posts: 10
Joined: Sat Jan 05, 2008 12:37 pm

Long nicks - handlen not recognised?

Post by silenus »

Hello,

I am new to eggdrop. I have nicklen set to 32 in my conf and I recompiled to set handlen=32 also. I think that the recompilation must have worked, because before I did it the bot would truncate longer nicks to 9 chars, whereas now they seem to register properly (using .+user), and I can, for example, find them with .whois, which would not work before I recompiled.

My problem is that the nicks do not seem to be recognised for all purposes. The problem came to light with LegoMan's Quote Script, which I found in the archive here. Users with nicks longer than 9 chars cannot use it even though they have the necessary flag. This led me to do a little testing, and I find that .seen does not work for nicks longer than 9 chars either - the bot simply does not respond to the query.

Have I done something wrong? Is there something else I can/should be setting?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Did you remember to delete your old userfile and create a new one after compiling with handlen=32?

At a quick glance, I can't see any reason for that script not working with longer handles or nicknames, yet work with shorter ones.
NML_375
s
silenus
Voice
Posts: 10
Joined: Sat Jan 05, 2008 12:37 pm

Post by silenus »

nml375:
Did you remember to delete your old userfile and create a new one after compiling with handlen=32?
Thank-you for responding. I had not done that. I have done it now. So far none of my >9 char users has showed up to be experimented on. .seen still does not work on >9 char nicks though.

I will post again if I find that the long-nick user problem is solved.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

By "seen" if you mean gseen you need edit gseen.c and recompile eggdrop again.

Code: Select all

static int seen_nick_len = 32;
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply