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.

nick-len or something else?

General support and discussion of Eggdrop bots.
Post Reply
i
indigo`
Voice
Posts: 5
Joined: Fri Dec 30, 2005 8:56 pm

nick-len or something else?

Post by indigo` »

I've set nick-len to 20 in the config file.

When I add a user to the bot with a nick more than 9 characters, it chops it off at 9 characters.

Isn't this set by nick-len?

If not, where do I set this variable so that I can add users with longer nicks to the bot?

Also, the nick contains characters such as ^ and `. Is this part of the problem? If so, can it be fixed?

Thanks!
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Nick length is not the same as handle length (the handle being what's stored in the bot's user file.) The usual max is 9 chars, although you can change this in the eggdrop.h file and then recompile. As stated in the eggdrop.h file, that would be non-standard and can cause problems with botnets for example, so all linked bots need to have the same HANDLEN set.


BTW, forum mods, I tried to do a search cos I know this topic's been discussed before, but the search feature isn't working, for any thing I tried.
i
indigo`
Voice
Posts: 5
Joined: Fri Dec 30, 2005 8:56 pm

Post by indigo` »

I don't see an eggdrop.h file anywhere....
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

indigo` wrote:I don't see an eggdrop.h file anywhere....
Then you're not really looking. :P

Try ~./src
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

indigo` wrote:I don't see an eggdrop.h file anywhere....
It's part of the source code for eggdrop.
eggdrop1.6.18/src/eggdrop.h
Post Reply