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.

about identify

General support and discussion of Eggdrop bots.
s
spriizha
Voice
Posts: 5
Joined: Tue Jan 23, 2007 9:39 pm

about identify

Post by spriizha »

hi.

my first time in eggdrop, nd i alrdy cnt understand 1 thing.

i tryd all identify scripts, bt non of them worked out. i whanted to ask, do i have to save script in scripts/script.tcl where is all default scripts ( i think ^^ )

and in main conf i must write in
source scripts/ident.tcl ?

that would been correct? if yes, then plz help me with working auto-identify script, because in that irc server where i need it, dont ask, to identify and works on sample /msg nickserv identify *** ;(

plz help to big noobish :(

thnx in before
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

All scripts go into the scripts directory.
##### SCRIPTS #####

# This is a good place to load scripts to use with your bot.

# This line loads script.tcl from the scripts directory inside your Eggdrop's
# directory. All scripts should be put there, although you can place them where
# you like as long as you can supply a fully qualified path to them.
#
# source scripts/script.tcl
For your second query (this works on connect only and only then if NickServ is online):

Code: Select all

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  putquick "/identify YourPass"
}
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
s
spriizha
Voice
Posts: 5
Joined: Tue Jan 23, 2007 9:39 pm

Post by spriizha »

Alchera wrote:

Code: Select all

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  putquick "/identify YourPass"
}
i changed YourPass to real pass, bt still nt working =/

i understund where to put scripts, and how to enable them, bt this one dont work :(
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

That code is within eggdrop.conf simply alter the existing "proc evnt:init_server" settings to what I posted and then simply rehash your bot.

This works once and only on connect!

There are many identify scripts in the Tcl Archive for eggdrop; any one of those should work on the Network you use.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
s
spriizha
Voice
Posts: 5
Joined: Tue Jan 23, 2007 9:39 pm

Post by spriizha »

still not working.. im so noobish :((


just last question bout your given script. do i have to change only the password? Oo

rly thnx for hlpng
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

spriizha wrote:still not working.. im so noobish :((


just last question bout your given script. do i have to change only the password? Oo

rly thnx for hlpng
Yes!

Reconnect your bot to your Network and it should identify.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
s
spriizha
Voice
Posts: 5
Joined: Tue Jan 23, 2007 9:39 pm

Post by spriizha »

aaaaaaaaaaaaaaaaaaig.. still not wrkng.. tryed another scrfipts...
the stupidest thing that this nickserv say nothing if u got a registed nick and havnt made identify..

ok lock topic. mybe sometime later i will beat this X_X
:*
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Have the bot cease ignoring services?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

Hi, now i've the same problem...
Alchera wrote:Have the bot cease ignoring services?
What does it mean exactly?
Where i must see to control?
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Add

Code: Select all

putserv "privmsg <services> :identify <pass>"
in the evnt:init_server proc. This will be performed on connect (of course you can use something like "nickserv :identify <pass>" instead of "privmsg..." if it's supported by your network).
User avatar
Linux
Halfop
Posts: 71
Joined: Sun Apr 04, 2004 4:20 pm
Location: Under The Sky

Post by Linux »

Try this if you want to login your nickname via NickServ.
ADD this into your .conf file,

Code: Select all

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  putquick "IDENTIFY <nickname> <your-password>"
}
Regards.
I'm an idiot, At least this one [bug] took about 5 minutes to find...
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

A simply question...
In this way the bot give me a message: "Attention: i can't to write the pid.Lamestbot file" and then it's don't connect...
Where i put the code in .conf file exactly? (to the top, in the middle, bottom or what)...
Regards.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Cr4sh wrote:A simply question...
In this way the bot give me a message: "Attention: i can't to write the pid.Lamestbot file" and then it's don't connect...
Where i put the code in .conf file exactly? (to the top, in the middle, bottom or what)...
Regards.
If your bot cannot write its own pid file then it indicates something is wrong; quota restrictions?

From eggdrop.conf (try this anyway):
# Specify here the filename Eggdrop will save its pid to. If no pidfile is
# specified, pid.(botnet-nick) will be used.
#set pidfile "pid.LamestBot"
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

I don't understand...
I'm do nothing, but now, with the code lines to the top of the .conf file, the bot connect to the channel, but don't identify itself with nickserv... :cry:
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

How about you load some identification script from the Tcl archive? There are a lot of scripts that will do what you want.

Btw, you don't just add lines to the top of the .conf file. The .conf file is organized for a reason.
Post Reply