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.

Starting up bot help

General support and discussion of Eggdrop bots.
Post Reply
r
ruud
Voice
Posts: 3
Joined: Sat Oct 22, 2011 2:22 pm

Starting up bot help

Post by ruud »

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?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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: Select all

# 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
r
ruud
Voice
Posts: 3
Joined: Sat Oct 22, 2011 2:22 pm

Post by ruud »

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.
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

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?
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

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.
r
ruud
Voice
Posts: 3
Joined: Sat Oct 22, 2011 2:22 pm

Post by ruud »

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"
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

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: Select all

# 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.
Post Reply