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

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
reallove
Voice


Joined: 13 Aug 2004
Posts: 14

PostPosted: Fri May 20, 2005 4:09 am    Post subject: Long channel name Reply with quote

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 Smile
Back to top
View user's profile Send private message
Galadhrim
Op


Joined: 11 Apr 2003
Posts: 123
Location: Netherlands, Enschede

PostPosted: Sat May 21, 2005 4:15 am    Post subject: Reply with quote

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\].
Back to top
View user's profile Send private message
reallove
Voice


Joined: 13 Aug 2004
Posts: 14

PostPosted: Sat May 21, 2005 5:38 am    Post subject: Reply with quote

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


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sat May 21, 2005 10:22 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message MSN Messenger
Galadhrim
Op


Joined: 11 Apr 2003
Posts: 123
Location: Netherlands, Enschede

PostPosted: Sat May 21, 2005 11:10 am    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
reallove
Voice


Joined: 13 Aug 2004
Posts: 14

PostPosted: Sun May 22, 2005 7:05 pm    Post subject: Reply with quote

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


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

PostPosted: Sun May 22, 2005 10:28 pm    Post subject: Reply with quote

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

You're bound to find it. Smile
_________________
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
bcs1
Voice


Joined: 04 Jul 2005
Posts: 16
Location: Cincinnati Oh.

PostPosted: Tue Jul 05, 2005 2:54 am    Post subject: Reply with quote

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)~
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Jul 05, 2005 8:24 pm    Post subject: Reply with quote

eggdrop doesn't impose channel name length limitations, ircd does (max 200 characters on my ircd-hybrid)
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 -> Modules & Programming 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