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.

Register and Identifying

General support and discussion of Eggdrop bots.
Post Reply
s
scyzernix
Voice
Posts: 9
Joined: Sun Aug 08, 2010 12:02 am

Register and Identifying

Post by scyzernix »

As the tittle goes, anyone here know how you can Register and identify yourself (bot) to nickserv?
It would be a great help.
d
doggo
Halfop
Posts: 97
Joined: Tue Jan 05, 2010 7:53 am
Contact:

Post by doggo »

register the nick with nickserv, log into the partyline via dcc..

Code: Select all

.msg nickserv register email@.com password   #check your servers syntax
and then load this script ;)

Code: Select all

#Put Your Server Identify Command
set identcmd "IDENTIFY"

#Put Your Bot Nick  Password
set identpass "yourpass"

#Put Your NickServ Services Nick
set nickserv "NickServ"

# Change this to what nickserv says on connection
bind notc - "*This nickname is registered and protected.  If it is your*" doggo:ident

# dont change

proc doggo:ident { nick uhost handle text dest } { 
   global botnick nickserv identcmd identpass 
   if { $nick == $nickserv } {
   puthelp "PRIVMSG $nickserv $identcmd $identpass"
   putlog "Identifying : $nickserv (as $botnick)"
   }
}
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Re: Register and Identifying

Post by willyw »

scyzernix wrote: ... identify yourself (bot) to nickserv?
Another method, to have bot identify itself to nickserv -

Find this section in your eggdrop.conf:

Code: Select all

# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
}
and add just one line to it:

Code: Select all

# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  putserv "privmsg nickserv : identify password_here"
}
This assumes that the Nickserv you are using accepts the command:
/msg nickserv identify password
s
scyzernix
Voice
Posts: 9
Joined: Sun Aug 08, 2010 12:02 am

Post by scyzernix »

doggo wrote:register the nick with nickserv, log into the partyline via dcc..

Code: Select all

.msg nickserv register email@.com password   #check your servers syntax
and then load this script ;)

Code: Select all

#Put Your Server Identify Command
set identcmd "IDENTIFY"

#Put Your Bot Nick  Password
set identpass "yourpass"

#Put Your NickServ Services Nick
set nickserv "NickServ"

# Change this to what nickserv says on connection
bind notc - "*This nickname is registered and protected.  If it is your*" doggo:ident

# dont change

proc doggo:ident { nick uhost handle text dest } { 
   global botnick nickserv identcmd identpass 
   if { $nick == $nickserv } {
   puthelp "PRIVMSG $nickserv $identcmd $identpass"
   putlog "Identifying : $nickserv (as $botnick)"
   }
}
Thank you. ^^
willyw wrote:
scyzernix wrote: ... identify yourself (bot) to nickserv?
Another method, to have bot identify itself to nickserv -

Find this section in your eggdrop.conf:

Code: Select all

# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
}
and add just one line to it:

Code: Select all

# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  putserv "privmsg nickserv : identify password_here"
}
This assumes that the Nickserv you are using accepts the command:
/msg nickserv identify password
This would be a lot of help if I could use it.
Does anyone know what line its on?
Last edited by scyzernix on Fri Sep 10, 2010 10:40 pm, edited 1 time in total.
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

scyzernix wrote: ...
This would be a lot of help if I could use it.
Does anyone know what line its on?
I don't understand your question. ... Just do a search for it.

Perhaps you don't have a fully commented eggdrop.conf?
Does your eggdrop.conf look like this one? :
http://eggwiki.org/Eggdrop.conf

You can text search that eggdrop.conf, with your web browser, and find the section I mentioned in it.
C
CtrlAltDel
Halfop
Posts: 49
Joined: Wed Jun 02, 2004 7:58 am

Post by CtrlAltDel »

There are also several complete scripts for just such a thing in the archives
s
scyzernix
Voice
Posts: 9
Joined: Sun Aug 08, 2010 12:02 am

Post by scyzernix »

willyw wrote:
scyzernix wrote: ...
This would be a lot of help if I could use it.
Does anyone know what line its on?
I don't understand your question. ... Just do a search for it.

Perhaps you don't have a fully commented eggdrop.conf?
Does your eggdrop.conf look like this one? :
http://eggwiki.org/Eggdrop.conf

You can text search that eggdrop.conf, with your web browser, and find the section I mentioned in it.
I meant, it would be a great help if only I knew what line it's on in the .conf file. Theres just way too many lines in it. =_=
CtrlAltDel wrote:There are also several complete scripts for just such a thing in the archives
^ this is an awesome place. Thanks.
t
tigrato
Voice
Posts: 22
Joined: Sat Jul 04, 2009 7:46 am

Post by tigrato »

scyzernix wrote: I meant, it would be a great help if only I knew what line it's on in the .conf file. Theres just way too many lines in it. =_=
Example

Code: Select all

set net-type "5"

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  putserv "privmsg nickserv : identify PASSWORD"
} 
set init-server { putserv "mode BOT NAME +i" }
set default-port 6697
Post Reply