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.

Need to add this code.

Old posts that have not been replied to for several years.
Locked
r
ripp3r

Need to add this code.

Post by ripp3r »

Hello,

where about in my conf file do i put this code to make my bot get account on irc.

i think this is right

/authserv register <account> <password>
_____________________________________

And do i put my bots nick in this

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
global botnick <<<<<<<<<<<------------ Bots nick?
putquick "MODE $botnick +ix"
putquick "AUTHSERV :AUTH <handle> <pass>"
}
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Re: Need to add this code.

Post by ]Kami[ »

ripp3r wrote:Hello,

where about in my conf file do i put this code to make my bot get account on irc.

i think this is right

/authserv register <account> <password>
_____________________________________

And do i put my bots nick in this

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
global botnick <<<<<<<<<<<------------ Bots nick?
putquick "MODE $botnick +ix"
putquick "AUTHSERV :AUTH <handle> <pass>"
}
I recommed you, that you first register bot's account handly (you take bot nick, and then you go and register it).When you register it, take bot username and pass and put it in script.

And btw use it like this:

Code: Select all

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  putquick "MODE $::botnick +ix"
  putquick "AUTHSERV :AUTH <handle> <pass>"
Where is handle, put your bots username (which you registred with authserver) and where is pass, put your bot pass (which you got when you registred your account with auth serv).
r
ripp3r

Post by ripp3r »

Thanx ]Kami[

i've use the code the way you said but chanserv keep say that my bot needs to authenticate :cry:


((ChanServ- Darktech must first authenticate with AuthServ.))


The code that in my conf file..

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
putquick "MODE $::botnick +ix"
putquick "AUTHSERV :AUTH botsnick pasword"
}


Does it matter where i put it in my conf file?
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

No, make tcl script and put this code in:

Code: Select all

bind evnt - init-server evnt:init_server 

proc evnt:init_server {type} { 
putquick "AUTHSERV :AUTH botsnick pasword" 
putquick "MODE $::botnick +ix" 
} 
I saw that mode +x was before he even loged in lol...Btw also change pass and bot nick...
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Talk about makin somethin complicated...add a variable to your conf and set your init-server setting... no need to make tcl script to simply identify.

set authpass "putyoursecretwordhere"
set init-server { putserv "MODE $botnick +ix"; putserv "PRIVMSG authserv:auth $botnick $authpass" }


there are many pre-existing identification tcls already written that do a better job of keeping a bot auth'd.
r
ripp3r

Post by ripp3r »

thankx guys :D its working now, i make a tcl script.
Locked