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.

brackets [ ] in the config

Old posts that have not been replied to for several years.
Locked
k
kamikaetzchen

brackets [ ] in the config

Post by kamikaetzchen »

Hi!

I wanted my eggdrop to join a channel on IRC which has brackets in its name.
When I started the eggdrop with these brackets in the config, I've got an error message and the eggdrop didn't started.

Tcl error in file 'eggbsp'':
invalid command name "xxx"
while executing
"xxx"
invoked from within
"channel add #[xxx]clan{"
(file "eggbsp" line 371)
* CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

Google said:

"11. Square brackets [] do not work in the config (new)"

But isn't there any possibility to use them though? I've already tried to comment them out like in perl, but it didn't work as well.

Any ideas?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Use something like: \[bla]
Once the game is over, the king and the pawn go back in the same box.
k
kamikaetzchen

Post by kamikaetzchen »

I've already tried to comment them out like in perl, but it didn't work
No matter if I use \[xxx] or \[xxx\], I always get:

Tcl error in file 'eggbsp':
invalid command name "chanmode"
while executing
"chanmode """
(file "eggbsp" line 372)
* CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Now is not a problem with the nick, is a problem with the way you've added a static channel in the .conf file. Example: of a static channel in the .conf file:
channel add #mychan {
chanmode "+nt"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay 6:30
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
}
You should read the coments from it.
Once the game is over, the king and the pawn go back in the same box.
k
kamikaetzchen

Post by kamikaetzchen »

ok, I'll take a closer look at that, but fact is, that my eggdrop joins 5 channels, and I've got only problems with this one with the brackets.

The channelsettings are for each one the same:

channel add #xxx{
chanmode ""
idle-kick 0
}
channel set #xxx +dontkickops +autovoice +protectfriends +protectops

global chanmode is "nt"
If I remove this channel with the brackets the eggdrop works fine.
And btw, thanks for you help and effort.
k
kamikaetzchen

Post by kamikaetzchen »

hmm adding the channel over dcc as dynamic channel works.
I think that's a solution I can live with :wink:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

you may also want to place a space inbetween the channel name and bracket.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

channel add #xxx{
here.. after the #xxx add a space.
Once the game is over, the king and the pawn go back in the same box.
k
kamikaetzchen

Post by kamikaetzchen »

that was it! what a stupid mistake :-?
thanks for you help!
Locked