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 

Register and Identifying

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


Joined: 08 Aug 2010
Posts: 9

PostPosted: Wed Sep 01, 2010 6:46 am    Post subject: Register and Identifying Reply with quote

As the tittle goes, anyone here know how you can Register and identify yourself (bot) to nickserv?
It would be a great help.
Back to top
View user's profile Send private message
doggo
Halfop


Joined: 05 Jan 2010
Posts: 97

PostPosted: Wed Sep 01, 2010 7:29 am    Post subject: Reply with quote

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

Code:
.msg nickserv register email@.com password   #check your servers syntax


and then load this script Wink

Code:
#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)"
   }
}

_________________
NON geeky!! http://gotcode4u.com/
Back to top
View user's profile Send private message Visit poster's website
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Wed Sep 01, 2010 10:54 am    Post subject: Re: Register and Identifying Reply with quote

scyzernix wrote:

... identify yourself (bot) to nickserv?


Another method, to have bot identify itself to nickserv -

Find this section in your eggdrop.conf:
Code:

# 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:

# 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
Back to top
View user's profile Send private message
scyzernix
Voice


Joined: 08 Aug 2010
Posts: 9

PostPosted: Mon Sep 06, 2010 5:39 am    Post subject: Reply with quote

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

Code:
.msg nickserv register email@.com password   #check your servers syntax


and then load this script Wink

Code:
#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:

# 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:

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


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Sep 06, 2010 8:53 pm    Post subject: Reply with quote

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


Joined: 02 Jun 2004
Posts: 49

PostPosted: Tue Sep 07, 2010 9:23 am    Post subject: Reply with quote

There are also several complete scripts for just such a thing in the archives
Back to top
View user's profile Send private message
scyzernix
Voice


Joined: 08 Aug 2010
Posts: 9

PostPosted: Fri Sep 10, 2010 10:43 pm    Post subject: Reply with quote

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


Joined: 04 Jul 2009
Posts: 22

PostPosted: Sat Sep 11, 2010 4:08 am    Post subject: Reply with quote

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