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.

Question about languages and nickserv from a newbie

Old posts that have not been replied to for several years.
Locked
t
tidy
Voice
Posts: 10
Joined: Mon Jul 19, 2004 1:04 pm

Question about languages and nickserv from a newbie

Post by tidy »

I have a problem. I configured 1.6.16 and have it up and running. I have two questions or problems.


1) When I run the eggdrop it can not find the language files no matter what I use for the path at the top of the config file and no matter what folder I put the language files in.


2) The network I am on has nickserv. I want the bot to use a registered nick. I tried registering the nick and adding the bots host name to the access list and that does not work so I downloaded a tcl to identify to nickserv and it will not identify. The tcl I used is bot_identifyer04.tcl.

Yes I spelled that the way the script file is spelled.

These two things are driving me batty. I would appreciate any ideas you cold offer my poor newbie brain hahaha.
The key to finding the answer is completely understanding the question.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

The eggdrop language files are all in ~language. There are four of them; Danish, English (default), French and German. The setting is simply: addlang "language" ie: for French it would be addlang "french". No path is required and English does not have to be set as it's the default.

Language selection affects channel output such as when the bot bans some one you'll get a message in channel like (in French): [11:10] * Guest17607 was kicked by Merveilleux (Banni: Permanent!). "Banni" being French for "banned".

In DCC Chat some of what you see will be in the language selected but not all. There is a lot that still displays in English.

Language specific TCL scripts actually take care of the language output.

In your eggdrop configuration file you can put code into the "proc evnt:init_server {type}" section to have it identify on connection to the network. I use DALnet so I'd use something like this (if I needed to):

Code: Select all

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  putquick "privmsg Nickserv@services.dal.net :identify botpass" 
}
For DALnet, a nick can be specified to identify to which is a good idea if the bot gets disconnected and comes back with an alternative nick. I use a system where my bots identify to their opped nicks ie. main nick that is in the channel operator list.

Hope this is of some use to you. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
t
tidy
Voice
Posts: 10
Joined: Mon Jul 19, 2004 1:04 pm

Post by tidy »

Thanks I will try the nickserv idea. I thinkt eh reason my current tcl wont identify is it is trying to identify the identify request. Anywa back to languages. I have the files where they need to be and even when i leave the language settings at default it say can not find language files during startup up and i get those msg code lines in the dcc console which is what is really bugging me.
The key to finding the answer is completely understanding the question.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

If you're using only English just comment out the addlang setting ie #addlang "english" and that should stop that. Only other reason for that error would be if you're trying to use a language file that does not exist.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
t
tidy
Voice
Posts: 10
Joined: Mon Jul 19, 2004 1:04 pm

Post by tidy »

Alchera wrote:If you're using only English just comment out the addlang setting ie #addlang "english" and that should stop that. Only other reason for that error would be if you're trying to use a language file that does not exist.


Actually I have tried it commented and not commented and neither works.
The key to finding the answer is completely understanding the question.
t
tidy
Voice
Posts: 10
Joined: Mon Jul 19, 2004 1:04 pm

Post by tidy »

Well alchera your init code worked great the bot now identifies. I can not thank you enough I spent two hours trying to figure it out last night. Now I need to figure out the screwylanguage files.
The key to finding the answer is completely understanding the question.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Glad to help :)

I must admit that the "screwy" language file bit has me stumped as I cannot figure out how it's happening. Is something I have never come across. Maybe one of the coders (Wcc) might have an idea.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
t
tidy
Voice
Posts: 10
Joined: Mon Jul 19, 2004 1:04 pm

Post by tidy »

I was missing almost all of the help files haha. I just static linked another users and they are fine. Thanks again for all of the help.
The key to finding the answer is completely understanding the question.
Locked