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 channel name

Discussion of Eggdrop's code and module programming in C.
Post Reply
r
reallove
Voice
Posts: 14
Joined: Fri Aug 13, 2004 4:57 pm

Long channel name

Post by reallove »

Hello,
When trying to add a channel to the bot with a long name,it doesn't join the right one.
E.g.:
If I .+chan #long.channel.name ,the bot joins #long.channel .I tried also from partyline and directly to add the channel from the .conf file,but same result.Any ideas how to fix that?

PS:Sorry if it's off-topic,but I didn't know where to post the problem :)
G
Galadhrim
Op
Posts: 123
Joined: Fri Apr 11, 2003 8:38 am
Location: Netherlands, Enschede

Post by Galadhrim »

dont worry im sure the admins will move it to Eggdrop Help

To be able to answer your question:
1) Is the length of the channel name supported by the IRC server?
2) Are you in that channel when you are trying to get the bot to join it?
3) Are you using special characters in the name. characters like [ and ] need to be escaped (ie \[ and \] ) so the program knows they have to be seen as real charactes rather than special ones? channels like #[cool] have to be written in the config as #\[cool\].
r
reallove
Voice
Posts: 14
Joined: Fri Aug 13, 2004 4:57 pm

Post by reallove »

Galadhrim wrote: 1) Is the length of the channel name supported by the IRC server?
2) Are you in that channel when you are trying to get the bot to join it?
Yes,it is supported,because I am in that channel when I try to make the bot join it.
Galadhrim wrote:3) Are you using special characters in the name. characters like [ and ] need to be escaped (ie \[ and \] ) so the program knows they have to be seen as real charactes rather than special ones? channels like #[cool] have to be written in the config as #\[cool\].
..maybe the ` character is considered special? It's contained in the channel name,with letters and . character.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

i doubt that. only characters with special meaning in TCL would cause trouble.
just say how long the channel is. probably it just exceeds any internal variable string length. So probably you have to increase one of the array/string lengths.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
G
Galadhrim
Op
Posts: 123
Joined: Fri Apr 11, 2003 8:38 am
Location: Netherlands, Enschede

Post by Galadhrim »

with my own irc network i had to edit the bot's code to allow a longer nickname than 15 chars (or whatever it was in default setting).
r
reallove
Voice
Posts: 14
Joined: Fri Aug 13, 2004 4:57 pm

Post by reallove »

De Kus wrote: just say how long the channel is.
The channel is 87 characters long .And the bot seems to join on a channel that contains the first 80 characters of that name.Where is that limit?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Read through the source code (like every one else does). :P

You're bound to find it. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
bcs1
Voice
Posts: 16
Joined: Mon Jul 04, 2005 2:57 am
Location: Cincinnati Oh.
Contact:

Post by bcs1 »

reallove wrote:
Galadhrim wrote: 1) Is the length of the channel name supported by the IRC server?
2) Are you in that channel when you are trying to get the bot to join it?
Yes,it is supported,because I am in that channel when I try to make the bot join it.
Galadhrim wrote:3) Are you using special characters in the name. characters like [ and ] need to be escaped (ie \[ and \] ) so the program knows they have to be seen as real charactes rather than special ones? channels like #[cool] have to be written in the config as #\[cool\].
..maybe the ` character is considered special? It's contained in the channel name,with letters and . character.


Nope that charactor wouldn't do it, we have a channel named #Browneyz`Bungalow on my server, and .+chan #Browneyz`Bungalow works just fine. I know this doesn't help much, but at least it should eliminate one question for you.

Bill
irc.i-chat.org Home to 3 chat networks!!!!!
http://bcs-bcs.com so out of date it's laughable, but it's still Mine };O)~
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

eggdrop doesn't impose channel name length limitations, ircd does (max 200 characters on my ircd-hybrid)
Post Reply