| View previous topic :: View next topic |
| Author |
Message |
ruud Voice
Joined: 22 Oct 2011 Posts: 3
|
Posted: Sat Oct 22, 2011 2:31 pm Post subject: Starting up bot help |
|
|
I successfully followed all the steps until the last step which was:
Switch to the directory to which you installed the bot, cross your fingers, and type ./eggdrop -m <config>
When I executed that, an error shows up:
Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[19:58:45] --- Loading eggdrop v1.6.20 (Sat Oct 22 2011)
[19:58:45] Tcl error in file 'SeedBot.conf':
[19:58:45] can't read "ruud": no such variable
while executing
"set notify-newusers "$ruud""
(file "SeedBot.conf" line 363)
[19:58:45] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Any idea what went wrong? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Oct 22, 2011 3:49 pm Post subject: |
|
|
You should re-examine these lines from your config-file. It appears that you've changed the notify-newusers settings and entered a new variable named ruud, which you have not defined (set) already. Were you intending to hardcode this setting to "Ruud", if so - drop the $
| Code: | # Un-comment the next line and set the list of owners of the bot.
# You NEED to change this setting.
set owner "MrLame, MrsLame"
# Who should a note be sent to when new users are learned?
set notify-newusers "$owner" |
_________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
ruud Voice
Joined: 22 Oct 2011 Posts: 3
|
Posted: Sat Oct 22, 2011 7:08 pm Post subject: |
|
|
Oh yes your right, I now deleted the $ sign. But now I get this:
Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[01:41:35] --- Loading eggdrop v1.6.20 (Sun Oct 23 2011)
[01:41:35] Module loaded: blowfish
[01:41:35] Module loaded: dns
[01:41:35] Module loaded: channels
[01:41:35] Module loaded: server
[01:41:35] Module loaded: ctcp
[01:41:35] Module loaded: irc
[01:41:35] Module loaded: notes (with lang support)
[01:41:35] Module loaded: console (with lang support)
[01:41:35] Module loaded: uptime
[01:41:35] Loading dccwhois.tcl...
[01:41:35] Loaded dccwhois.tcl
[01:41:35] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[01:41:35] use '.help userinfo' for commands.
[01:41:35] Creating channel file
[01:41:35] Couldn't create channel file: SeedBot.chan. Dropping
[01:41:35] ERROR writing channel file.
STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type: /msg SeedBot hello
This will make the bot recognize you as the master.
[01:41:35] === SeedBot: 0 channels, 0 users.
* Warning! Could not write pid.SeedBot file!
Launched into the background (pid: 11205)
It doesnt appear in my channel. |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sat Oct 22, 2011 8:24 pm Post subject: |
|
|
| ruud wrote: |
...
[01:41:35] Creating channel file
[01:41:35] Couldn't create channel file: SeedBot.chan. Dropping
[01:41:35] ERROR writing channel file.
...
|
Does bot lack permission to write to this file? |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sat Oct 22, 2011 8:30 pm Post subject: |
|
|
| ruud wrote: |
...
It doesnt appear in my channel. |
First, you do: /msg <botnick> Hello
and bot replies, telling you that you are Owner.
Next, you follow the directions it sent you, to set your password in the bot.
Next, you either DCC chat with the bot, or telnet to the bot, and log in to the bot. Once logged in, THEN you can use commands to make it join channels, etc.
http://www.egghelp.org/setup.htm#starting
But, in your case, if it were me, I'd want to fix that problem with it not being able to write to those files that it mentioned - first.
I hope this helps. |
|
| Back to top |
|
 |
ruud Voice
Joined: 22 Oct 2011 Posts: 3
|
Posted: Sat Oct 22, 2011 8:38 pm Post subject: |
|
|
Ok I managed to fix the permission and now it writes the files. So how do I DCC chat and login to assign the bot to the channel? I tried to chat but this is the response I got:
-> [SeedBot] CHAT
-
[SeedBot ERROR reply]: no telnet port
But when I try to do this /dcc chat SeedBot all it says "Waiting for acknowledgement" |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sun Oct 23, 2011 2:51 am Post subject: |
|
|
| ruud wrote: | Ok I managed to fix the permission and now it writes the files. So how do I DCC chat and login to assign the bot to the channel? I tried to chat but this is the response I got:
-> [SeedBot] CHAT
-
[SeedBot ERROR reply]: no telnet port
But when I try to do this /dcc chat SeedBot all it says "Waiting for acknowledgement" |
Example eggdrop.conf is here:
http://eggwiki.org/Eggdrop.conf
Text search for:
| Code: |
# This opens a telnet port by which you and other bots can interact with the
# Eggdrop by telneting in.
...
|
and read that section.
Then set it to an open port. |
|
| Back to top |
|
 |
|