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.

error in nick identification code

Old posts that have not been replied to for several years.
Locked
i
imamDIN

error in nick identification code

Post by imamDIN »

i hav added this code in my *.conf file
but i am getting error on it
wat should i do now?
#Replace yourbotpasswd With Your Bot Nick Password
set nickpass "yourbotpasswd"
#blah blah blah

bind join - * ident_nickserv
proc ident_nickserv { nick uhost hand args } {
putlog "Starting To Identify"
putserv "PRIVMSG nickserv@services.dal.net :identify $nickpass"
putlog "Identify Progress Done"
}

#
wat should i do now?
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

bind join is triggered when someone join a channel your bot is on, not when it connects to a irc-server, add your code to proc evnt:init_server in your config file instead.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Re: error in nick identification code

Post by YooHoo »

imamDIN wrote:i hav added this code in my *.conf file
but i am getting error on it
wat should i do now?

Code: Select all

#Replace yourbotpasswd With Your Bot Nick Password
set nickpass "yourbotpasswd"
#blah blah blah

bind join - * ident_nickserv
proc ident_nickserv { nick uhost hand args } {
    putlog "Starting To Identify"
    putserv "PRIVMSG nickserv@services.dal.net :identify $nickpass"
    putlog "Identify Progress Done"
  }

#
wat should i do now?
You have this procedure set to /msg nickserv upon join by anyone, you, me, your cousin Bob, anyone. This proc is guaranteed to get ur bot klined/killed/whatever. The join bind could conceivebly be used if there was a chanserv normally in the room, but got netsplit....maybe.....but certainly not the way you have this.....
:mrgreen: i wonder if the variable set nickpass "yourbotpasswd" was left this way by default, and has never been changed?
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Simple, you can correct this scripplet's bind or use ones on egghelp.org's tcl archive. They will interact with your bot with bot nickserv and chanserv, like suppose will they reop the bot on nick identification notices and on channel joins, auto reop it with chanserv on deop, unban when it is banned it and blah blah many more.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Locked