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.

How can the bot IDENTIFY itself to NickServ?

General support and discussion of Eggdrop bots.
Post Reply
n
netstrider
Voice
Posts: 5
Joined: Fri Oct 20, 2006 4:04 pm
Location: South Africa
Contact:

How can the bot IDENTIFY itself to NickServ?

Post by netstrider »

Hey, I have a problem which I don't believe is that big if you know what you're doing lol. One simple question how can I make the bot identify itself everytime it gets connected to IRC ? 8)
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Code: Select all

bind evnt - init-server identify

proc identify init-server {
  putquick "PRIVMSG NickServ :IDENTIFY USER PASS"
}
C
Callisto
Halfop
Posts: 86
Joined: Sun Mar 13, 2005 11:04 am

Post by Callisto »

OR you can set it in the conf file in the servers section

Code: Select all

# The format is:
#   server[:port[:password]]
#
# Both the port and password fields are optional; however, if you want to set a
# password you must also set a port. If a port isn't specified it will default to
# your default-port setting.
set servers {
network name{s}:port:password
}
Callisto
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

@Callisto:
That would generally be for password-protected connections, not nickserv...
I guess there might be some nickserv-implementations that use the PASS irc command for authentication, although I'd find that non rfc1459-comliant...
NML_375
C
Callisto
Halfop
Posts: 86
Joined: Sun Mar 13, 2005 11:04 am

Post by Callisto »

Quite possibly but it seems to work on bahamut based IRCDs (dalnet etc) although I admit it doesnt always work after a netsplit if services also splits. Sorry to mislead anyone

Callisto
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

On most networks running nickserv the serverpass is forwarded as nickserv password.
for handling netsplits you should consult the script archive, it holds a pretty amount of scripts dealing with nickserv. Some with more, some with less functionality and reliability.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

I wrote a script that auto identifies to NickServ whenever NickServ is detected as coming online.

It uses Bahamut's "watch" feature which some IRCd's now implement, Unreal being just one.

Autoident

Manual identification can be done via DCC also using:

Code: Select all

.identify
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

I wonder why you send the password only when the nickserv comes online and not when you change the nick name, also I doubt the watch will do any good without beeing within the init-server proc... (unless you have a init-server bind which rehashs the bot :D)
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

De Kus wrote:I wonder why you send the password only when the nickserv comes online and not when you change the nick name, also I doubt the watch will do any good without beeing within the init-server proc... (unless you have a init-server bind which rehashs the bot :D)
Good grief!

Do you even know what 'watch' does?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
n
netstrider
Voice
Posts: 5
Joined: Fri Oct 20, 2006 4:04 pm
Location: South Africa
Contact:

Post by netstrider »

]Kami[ wrote:

Code: Select all

bind evnt - init-server identify

proc identify init-server {
  putquick "PRIVMSG NickServ :IDENTIFY USER PASS"
}
Thanks, but where exactly do I add that? in the .chan file or what :arrow: ? Thanks in advance
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

netstrider wrote:Thanks, but where exactly do I add that? in the .chan file or what :arrow: ? Thanks in advance
while you could add it there, you really should add it at the proper section in the eggdrop.conf.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Post Reply