| View previous topic :: View next topic |
| Author |
Message |
nimrod Voice
Joined: 07 Apr 2011 Posts: 1
|
Posted: Thu Apr 07, 2011 3:34 am Post subject: Illegal channel option? |
|
|
Here is the info from the shell
| Quote: |
[07:24:50] Tcl error in file './eggdrop.conf':
[07:24:50] illegal channel option:
illegal channel option:
illegal channel option:
illegal channel option:
illegal channel option:
illegal channel option:
illegal channel option:
while executing
"channel add #chan {
chanmode "+tn"
idle-kick 0
flood-chan 5:4
flood-join 5:10
flood-ctcp 3:60
flood-deop 0..."
(file "./eggdrop.conf" line 107)
[07:24:50] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
|
here are my channel settings
| Quote: |
channel add #chan {
chanmode "+tn"
idle-kick 0
flood-chan 5:4
flood-join 5:10
flood-ctcp 3:60
flood-deop 0:0
flood-kick 0:0
}
channel set #chan +enforcebans +dynamicbans -autoop -autovoice -protectops -protectfriends
|
I've used this config for ages never had any trouble with it until now :\ |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Thu Apr 07, 2011 8:35 am Post subject: Re: Illegal channel option? |
|
|
| nimrod wrote: |
...
while executing
"channel add #chan {
...
i've used this config for ages never had any trouble with it until now
\ |
Have you just upgraded to 1.6.20 ?
I believe that the
channel add
command is no longer usable.
See:
http://eggwiki.org/Eggdrop.conf#Channels
| Quote: |
Adding channels via the config file is deprecated and discouraged. It is suggested that channels are added with the partyline .+chan command instead. Note that if channels are added this way, channel settings still has to be changed using .chanset The only difference between adding channels directly in the config file and using .+chan is that channels added via the config file will become static and can not be removed without removing them from the config file and then doing a .restart.
|
|
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Thu Apr 07, 2011 9:02 am Post subject: |
|
|
Are there any special characters in the channel name? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Thu Apr 07, 2011 1:53 pm Post subject: Re: Illegal channel option? |
|
|
| nimrod wrote: | | I've used this config for ages never had any trouble with it until now :\ |
The majority of tcl scripts will not work at all on your bot doing this. As most every script today, uses some form of .chanset to control which channels the script will function in. Channels created in the eggdrop.conf are created as static channels. They do not have any settings that can be changed. So using any of my scripts for example, google, twitter, etc.. will fail, giving you the error "Invalid Channel: #yourchan" and you will be unable to use them.
So learn how to properly use .+chan and .chanset. Never use that channel add section within your eggdrop.conf ever again. Willyw is correct, they've been deprecated, this was how early on eggdrop users would add channels. Today that setting is basically useless, since everyone uses .chanset.
So in short, yeah, learn .+chan and .chanset and modify settings on your bots partyline. This is the proper supported way. Any other way won't cut it, at least for users of my scripts and pretty much 90% of others...  _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
|