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.

Eggdrop Error.

General support and discussion of Eggdrop bots.
Post Reply
r
raymondoo1992
Voice
Posts: 9
Joined: Sat Mar 05, 2011 7:13 pm

Eggdrop Error.

Post by raymondoo1992 »

Hello i currently set up eggdrop and i'm getting a error
Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[14:58:33] --- Loading eggdrop v1.6.20 (Sat Mar 5 2011)
[14:58:33] Tcl error in file 'eggdrop.conf':
[14:58:33] invalid command name "/home/ircmadness/eggdrop1.6.20"
while executing
"/home/ircmadness/eggdrop1.6.20"
(file "eggdrop.conf" line 1)
[14:58:33] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
So i commented that out, and now i get this
Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[15:20:02] --- Loading eggdrop v1.6.20 (Sat Mar 5 2011)
[15:20:02] Can't load modules blowfish: Cannot open "/home/ircmadness/eggdrop1.6.20/modules/blowfish.so"
[15:20:02] Can't load modules dns: Cannot open "/home/ircmadness/eggdrop1.6.20/modules/dns.so"
[15:20:02] Can't load modules channels: Cannot open "/home/ircmadness/eggdrop1.6.20/modules/channels.so"
[15:20:02] Can't load modules server: Cannot open "/home/ircmadness/eggdrop1.6.20/modules/server.so"
[15:20:02] Can't load modules ctcp: Cannot open "/home/ircmadness/eggdrop1.6.20/modules/ctcp.so"
[15:20:02] Can't load modules irc: Cannot open "/home/ircmadness/eggdrop1.6.20/modules/irc.so"
[15:20:02] Tcl error in file 'eggdrop.conf':
[15:20:02] bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon, chpt, cron, dcc, disc, evnt, filt, link, load, log, nkch, note, time, unld
while executing
"unbind msg - ident *msg:ident"
(file "eggdrop.conf" line 1068)
[15:20:02] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
i dont get it, why am i getting it ?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

The first error was probably because you removed the # at the start of line 1. The #! (or shebang) is used to instruct the OS how to run this file, and is only needed if you intend to use your config file as an executional.

Second error is usually due to not running "make install" once you've built your eggdrop, or an error occured during the installation.
NML_375
r
raymondoo1992
Voice
Posts: 9
Joined: Sat Mar 05, 2011 7:13 pm

Post by raymondoo1992 »

Never mind fixed that one, but how do i add another master aswell as me to the eggdrop, i asked my mate to do what i did /msg eggdrop
then say hello
But he never got anything.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

With default settings, the "/msg yourbot hello" command will only allow the first issuer to register with the bot. This can be changed through configuration settings, though it's generally not recommended (for security).
Still, only the first one registering will gain elevated privileges (owner), any further registered users will get the default set of flags (also configurable).

Instead, it's generally recommended that you, as the bot owner, use the dcc partyline interface to add new users and assigning them the proper privileges. The commands you'll need for starters are .adduser (or .+user), .chattr, .+host, and .whois. You can also use the .help command to find more information on these commands through the dcc partyline.
NML_375
r
raymondoo1992
Voice
Posts: 9
Joined: Sat Mar 05, 2011 7:13 pm

Post by raymondoo1992 »

Okay thank's now i would like to add Joe as a owner as well as me,
so i did .+user Joe but i forgot to set everything else and now wont let me remove it when i use .-user Joe says <eggdrop> You can't remove a permanent bot owner!

How can i remove this ?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

A permanent owner is one that's added to the owners-variable in your config-file. A permanent owner cannot be deleted (to prevent someone hi-jacking your eggdrop); you'll have to remove him from that variable and restart your eggdrop to turn him into a normal owner, then you can delete him.

That said, using the .+host/.-host commands, you can easily adjust his hostmasks without removing the handle.
NML_375
r
raymondoo1992
Voice
Posts: 9
Joined: Sat Mar 05, 2011 7:13 pm

Post by raymondoo1992 »

Okay that's that done, now the thing im stuck on because im noob, how do i add him same level as i am, i deleted him, but now i want to re-add him .+user Joe
then im stuck on what to type after that.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

As mentioned in previous post, use .+host/.-host to add/remove hostmasks so that your eggdrop recognises him, tell your friend to set a password (using the "/msg eggdrop pass" command), and then use .chattr to change his privileges (hint: ".help whois" explains the different user flags you can apply to users).

There's also the doc/USERS document describing the different user flags.
NML_375
r
raymondoo1992
Voice
Posts: 9
Joined: Sat Mar 05, 2011 7:13 pm

Post by raymondoo1992 »

<Ray> .+host Joe@netadmin.ircmadness.net
<eggdrop> [16:22:40] #Ray# +host Ray Joe@netadmin.ircmadness.net
<eggdrop> Added 'Joe@netadmin.ircmadness.net' to Ray.

I dont want it adding to me

then i tryed

<Ray> .+host Joe@netadmin.ircmadness.net Joe
no user
r
raymondoo1992
Voice
Posts: 9
Joined: Sat Mar 05, 2011 7:13 pm

Post by raymondoo1992 »

oh i tryed it the over way and it added it to Joe, but wont let him do the password commands thing
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Proper hostmasks must match nick!user@host, not user@host. In your case, that would probably be ".+host Joe *!Joe@netadmin.ircmadness.net".
NML_375
r
raymondoo1992
Voice
Posts: 9
Joined: Sat Mar 05, 2011 7:13 pm

Post by raymondoo1992 »

Okay i added that mask, so do i need to set the mode on him before he can do the pass command ? is so how, i looked at the levels and stuff i was n on him coz that's owner, but dosent expalin how to set that
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Your friend can set his password at any point as long as your eggdrop recognises him.
To change flags, use the .chattr command as mentioned earlier. See .help chattr for further details..
That said, if he was already in the permanent owners setting, he would already have the n (owner) flag set. If you are unsure, use the .whois command to check which flags are active on his account...
NML_375
r
raymondoo1992
Voice
Posts: 9
Joined: Sat Mar 05, 2011 7:13 pm

Post by raymondoo1992 »

Yeh he is, but i seam to be having issues, when he dose the command you said /msg eggdrop pass (newpass)
It dosent work. Nothing happends.
r
raymondoo1992
Voice
Posts: 9
Joined: Sat Mar 05, 2011 7:13 pm

Post by raymondoo1992 »

Ahh this is now fixed, thank's so much for your help :D
Post Reply