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 

Long nicks - handlen not recognised?

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


Joined: 05 Jan 2008
Posts: 10

PostPosted: Sat Jan 05, 2008 12:51 pm    Post subject: Long nicks - handlen not recognised? Reply with quote

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


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Jan 05, 2008 1:18 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
silenus
Voice


Joined: 05 Jan 2008
Posts: 10

PostPosted: Sat Jan 05, 2008 6:27 pm    Post subject: Reply with quote

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


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Jan 05, 2008 7:54 pm    Post subject: Reply with quote

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

Code:
static int seen_nick_len = 32;

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop 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