| View previous topic :: View next topic |
| Author |
Message |
scyzernix Voice
Joined: 08 Aug 2010 Posts: 9
|
Posted: Wed Sep 01, 2010 6:46 am Post subject: Register and Identifying |
|
|
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 |
|
 |
doggo Halfop
Joined: 05 Jan 2010 Posts: 97
|
Posted: Wed Sep 01, 2010 7:29 am Post subject: |
|
|
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
| 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 |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Wed Sep 01, 2010 10:54 am Post subject: Re: Register and Identifying |
|
|
| 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 |
|
 |
scyzernix Voice
Joined: 08 Aug 2010 Posts: 9
|
Posted: Mon Sep 06, 2010 5:39 am Post subject: |
|
|
| 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
| 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 |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Mon Sep 06, 2010 8:53 pm Post subject: |
|
|
| 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 |
|
 |
CtrlAltDel Halfop
Joined: 02 Jun 2004 Posts: 49
|
Posted: Tue Sep 07, 2010 9:23 am Post subject: |
|
|
| There are also several complete scripts for just such a thing in the archives |
|
| Back to top |
|
 |
scyzernix Voice
Joined: 08 Aug 2010 Posts: 9
|
Posted: Fri Sep 10, 2010 10:43 pm Post subject: |
|
|
| 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 |
|
 |
tigrato Voice
Joined: 04 Jul 2009 Posts: 22
|
Posted: Sat Sep 11, 2010 4:08 am Post subject: |
|
|
| 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 |
|
 |
|