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.

problem with # char in eggdrop.conf

Old posts that have not been replied to for several years.
J
Javier
Voice
Posts: 12
Joined: Thu Sep 11, 2003 3:59 am

problem with # char in eggdrop.conf

Post by Javier »

hi!

when i try to edit the conf file and add the bot in a channel....

channel add #channel {
chanmode.....

i get: "ilegal channel option"

the same if i add a \ before # to escape.

anybody can help me?
thanks in advance.
J
Javier
Voice
Posts: 12
Joined: Thu Sep 11, 2003 3:59 am

Post by Javier »

solved :evil:
J
Javier
Voice
Posts: 12
Joined: Thu Sep 11, 2003 3:59 am

Post by Javier »

[censored]!
I need to install it again but i forget the solution :o
The problem is '#', i have tried to escape with a slash '\' but does not work.
Help please!!
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

Why do you assume the error is with the "#" char?
Try using your eyes and your brain and i'm sure you'll solve it once more. Also, why don't you post the solution here in case you forget it again.. :wink:
Have you ever read "The Manual"?
J
Javier
Voice
Posts: 12
Joined: Thu Sep 11, 2003 3:59 am

Post by Javier »

user wrote:Why do you assume the error is with the "#" char?
The error msg say line 751 -> channel set #mychannel {
user wrote: Also, why don't you post the solution here in case you forget it again.. :wink:
I'll do it. :evil:
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

look at the examples included in the eggdrop.conf

Code: Select all

# Here is a shorter example:
#
#   channel add #botcentral {
#     chanmode "+mntisl 1"
#     idle-kick 1
#   }
#   channel set #botcentral +bitch +enforcebans -greet +revenge
I think that should help you
J
Javier
Voice
Posts: 12
Joined: Thu Sep 11, 2003 3:59 am

Post by Javier »

Thanks Turambar but i just have:

channel add #mychannel {
chanmode "+ntlikm"
idle-kick 0
}
channel set #mychannel

...and does not work.
Commenting these lines the error disappears, but the boot not join on channel.

Regards.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

channel set #mychannel

That is you problem.

You are not specifying any options.
J
Javier
Voice
Posts: 12
Joined: Thu Sep 11, 2003 3:59 am

Post by Javier »

is the same with:

channel set #mychannel +bitch +enforcebans -greet +revenge

or anything

the error is on this line "channel add"
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

In which case, you are ommiting important details needed to help solve your problem, as that line seems to work fine here.
f
fireworks
Voice
Posts: 10
Joined: Sun Jan 25, 2004 9:47 am

Post by fireworks »

Just a silly solution but you could try commenting the channel add and channel set parts (disabling it at all ) and then add the channel and it's settings from the partyline..

one more thing when you add a chan with +k for key, you should also specify the key word
like this:

channel add #sweetchannel {
chanmode "+sntk nicekey"
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

hmm yeah the key for k and the userlimit for l
f
fireworks
Voice
Posts: 10
Joined: Sun Jan 25, 2004 9:47 am

Post by fireworks »

wasn't the limit auto set by the bot according to number of ppl in channel at a given time?
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

no that's done via a script, if you set the chanmode +l x the bot is always going to keep the limit at x
J
Javier
Voice
Posts: 12
Joined: Thu Sep 11, 2003 3:59 am

Post by Javier »

[quote="fireworks"]Just a silly solution but you could try commenting the channel add and channel set parts (disabling it at all ) and then add the channel and it's settings from the partyline..
quote]

Yeap!!!
But i have not way to enable telnet on my server.
Is there another way to control the bot?
Thanks in advance
Locked