egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop Error.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
raymondoo1992
Voice


Joined: 05 Mar 2011
Posts: 9

PostPosted: Sat Mar 05, 2011 7:24 pm    Post subject: Eggdrop Error. Reply with quote

Hello i currently set up eggdrop and i'm getting a error
Quote:

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
Quote:

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 ?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Mar 05, 2011 7:33 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
raymondoo1992
Voice


Joined: 05 Mar 2011
Posts: 9

PostPosted: Sat Mar 05, 2011 7:38 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Mar 05, 2011 7:46 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
raymondoo1992
Voice


Joined: 05 Mar 2011
Posts: 9

PostPosted: Sat Mar 05, 2011 7:52 pm    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Mar 05, 2011 7:56 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
raymondoo1992
Voice


Joined: 05 Mar 2011
Posts: 9

PostPosted: Sat Mar 05, 2011 8:08 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Mar 05, 2011 8:15 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
raymondoo1992
Voice


Joined: 05 Mar 2011
Posts: 9

PostPosted: Sat Mar 05, 2011 8:24 pm    Post subject: Reply with quote

<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
Back to top
View user's profile Send private message
raymondoo1992
Voice


Joined: 05 Mar 2011
Posts: 9

PostPosted: Sat Mar 05, 2011 8:27 pm    Post subject: Reply with quote

oh i tryed it the over way and it added it to Joe, but wont let him do the password commands thing
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Mar 05, 2011 8:33 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
raymondoo1992
Voice


Joined: 05 Mar 2011
Posts: 9

PostPosted: Sat Mar 05, 2011 8:37 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Mar 05, 2011 8:42 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
raymondoo1992
Voice


Joined: 05 Mar 2011
Posts: 9

PostPosted: Sat Mar 05, 2011 8:49 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
raymondoo1992
Voice


Joined: 05 Mar 2011
Posts: 9

PostPosted: Sat Mar 05, 2011 9:17 pm    Post subject: Reply with quote

Ahh this is now fixed, thank's so much for your help Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber