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.

Channel problem [solved]

General support and discussion of Eggdrop bots.
Post Reply
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Channel problem [solved]

Post by Cr4sh »

I don't know where's the problem

Code: Select all

channel add #soldi_con_il_web {
chanmode "+nt-likm"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay 5:30
# need-op { putserv "PRIVMSG #lamest :op me cos i'm lame!" }
# need-invite { putserv "PRIVMSG #lamest :let me in!" }
# need-key { putserv "PRIVMSG #lamest :let me in!" }
need-unban { putserv "PRIVMSG #lamest :let me in!" }
need-limit { putserv "PRIVMSG #lamest :let me in!" }
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
when i start eggdrop

Code: Select all

$ ./eggdrop eggdrop.conf

Eggdrop v1.6.19+Gentoo (C) 1997 Robey Pointer (C) 2008 Eggheads
[20:48] --- Loading eggdrop v1.6.19+Gentoo (Mon Dec 13 2010)
[20:48] Listening at telnet port 3333 (all).
[20:48] Module loaded: blowfish        
[20:48] Module loaded: dns             
[20:48] Module loaded: channels        
[20:48] Tcl error in file 'eggdrop.conf':
[20:48] illegal channel option: #
illegal channel option: #
illegal channel option: #

    while executing
"channel add #soldi_con_il_web {
chanmode "+nt-likm"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay..."
    (file "eggdrop.conf" line 482)
[20:48] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
If i leave the #

Code: Select all

$ ./eggdrop eggdrop.conf

Eggdrop v1.6.19+Gentoo (C) 1997 Robey Pointer (C) 2008 Eggheads
[20:51] --- Loading eggdrop v1.6.19+Gentoo (Mon Dec 13 2010)
[20:51] Listening at telnet port 3333 (all).
[20:51] Module loaded: blowfish        
[20:51] Module loaded: dns             
[20:51] Module loaded: channels        
[20:51] Tcl error in file 'eggdrop.conf':
[20:51] invalid channel prefix
    while executing
"channel add soldi_con_il_web {
chanmode "+nt-likm"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay ..."
    (file "eggdrop.conf" line 482)
[20:51] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Last edited by Cr4sh on Mon Dec 13, 2010 5:00 pm, edited 1 time in total.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

The problems are the #'s inside the channel definition:

Code: Select all

# need-op { putserv "PRIVMSG #lamest :op me cos i'm lame!" }
# need-invite { putserv "PRIVMSG #lamest :let me in!" }
# need-key { putserv "PRIVMSG #lamest :let me in!" }
NML_375
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

It's strange...i leave all the # but

Code: Select all

$ ./eggdrop eggdrop.conf

Eggdrop v1.6.19+Gentoo (C) 1997 Robey Pointer (C) 2008 Eggheads
[21:36] --- Loading eggdrop v1.6.19+Gentoo (Mon Dec 13 2010)
[21:36] Listening at telnet port 3333 (all).
[21:36] Module loaded: blowfish        
[21:36] Module loaded: dns             
[21:36] Module loaded: channels        
[21:36] Tcl error in file 'eggdrop.conf':
[21:36] invalid channel prefix
    while executing
"channel add soldi_con_il_web {
chanmode "+nt-likm"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay ..."
    (file "eggdrop.conf" line 482)
[21:36] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

You still need the #-prefix on the channel-name, just not the other ones I mentioned.
NML_375
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

:oops:
Thanks.
Post Reply