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 

How can the bot IDENTIFY itself to NickServ?

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


Joined: 20 Oct 2006
Posts: 5
Location: South Africa

PostPosted: Mon Oct 30, 2006 5:34 am    Post subject: How can the bot IDENTIFY itself to NickServ? Reply with quote

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 ? Cool
Back to top
View user's profile Send private message Visit poster's website
]Kami[
Owner


Joined: 24 Jul 2003
Posts: 590
Location: Slovenia

PostPosted: Mon Oct 30, 2006 7:25 am    Post subject: Reply with quote

Code:
bind evnt - init-server identify

proc identify init-server {
  putquick "PRIVMSG NickServ :IDENTIFY USER PASS"
}

_________________
Slovene Eggdrop Page
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Callisto
Halfop


Joined: 13 Mar 2005
Posts: 86

PostPosted: Mon Oct 30, 2006 10:46 am    Post subject: Reply with quote

OR you can set it in the conf file in the servers section
Code:
# 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
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Oct 30, 2006 11:00 am    Post subject: Reply with quote

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


Joined: 13 Mar 2005
Posts: 86

PostPosted: Mon Oct 30, 2006 11:05 am    Post subject: Reply with quote

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


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Wed Nov 01, 2006 3:36 pm    Post subject: Reply with quote

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


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Nov 01, 2006 7:17 pm    Post subject: Reply with quote

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:
.identify

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Thu Nov 02, 2006 3:46 pm    Post subject: Reply with quote

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 Very Happy)
_________________
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...
Back to top
View user's profile Send private message MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Nov 02, 2006 7:15 pm    Post subject: Reply with quote

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 Very Happy)

Good grief!

Do you even know what 'watch' does?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
netstrider
Voice


Joined: 20 Oct 2006
Posts: 5
Location: South Africa

PostPosted: Fri Nov 03, 2006 7:06 am    Post subject: Reply with quote

]Kami[ wrote:
Code:
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
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Fri Nov 03, 2006 12:56 pm    Post subject: Reply with quote

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