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.

NickServ help

Old posts that have not been replied to for several years.
Locked
a
artur

NickServ help

Post by artur »

i downloaded several eggdrop autoidentify on nickserv scripts but they all doesn't work. why?



botnick.tcl

# BotNick!
#
# Getting eggdrop 1.1.5 bots to respond to nickserv, stops the bot
# getting killed if there is a netsplit.
#
# Set the "nickpass" variable to the password used with nickserv.

set nickpass "ziuzia"

bind notc - "This nickname is registered*" botnick
proc botnick {nick uhost handle text} {
global nickpass
putserv "PRIVMSG Nickserv :identify $nickpass"
}




and in the eggdrop.conf i added
source botnick.tcl
set nickpass "ziuzia"

but when my windrop connects to irc its nick changes to guest****
s
soul
Voice
Posts: 31
Joined: Fri Apr 25, 2003 6:25 pm
Location: Portugal

Post by soul »

First, that script isnt safe at all, cus anyone can message the bot and it will reply services password :o

Code: Select all

set mask "NickServ!IDENT@HOST" ;#change it to match NickServ mask
set np "ziuzia"
bind notc - "$mask" botident
proc botident {nick uhost handle text dest} {
global mask np
if { $text == "*nickname*registered*" }{
putquick "PRIVMSG Nickserv :identify $np" -next
 }
}
i've not tested yet, but might work :roll:
i'll believe in justice when the pope is accused {
if {$true == "$censured" }{return nothing}}
a
artur

Post by artur »

it doesn't.. i'm on DALnet server irc.omnitel.lt
nickserv's mask ubaldas@aitvaras.net
so i wrote

Code: Select all

set mask "NickServ!ubaldas@aitvaras.net" ;#change it to match NickServ mask 
set np "ziuzia" 
bind notc - "$mask" botident 
proc botident {nick uhost handle text dest} { 
global mask np 
if { $text == "*nickname*registered*" }{ 
putquick "PRIVMSG Nickserv :identify $np" -next 
} 
}
but my nick still changes to svecias****, its lithuanian server so it's not guest***
what i have to do to make this script work?[/code]
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Post by z_one »

I don't think you can use wildcards around the == operator

Try this instead

Code: Select all

set mask "NickServ!ubaldas@aitvaras.net" ;#change it to match NickServ mask 
set np "ziuzia" 
bind notc - "$mask" botident 
proc botident {nick uhost handle text dest} { 
  global mask np 
  if {[string match "*nickname*registered*" "$text"]}
    putquick "PRIVMSG Nickserv :identify $np" -next 
  } 
}
But then again, this is not a safe method either since your password is written (un-encrypted) in your TCL file.
a
artur

Post by artur »

it still doesn`t work, but thanks anyway.
to identify on nickserv i wrote on eggdrop.conf where is my server list:
irc.omnitel.net:6667 a added :ziuzia
so now it's irc.omnitel.net:6667:ziuzia ,,, and that works fine...
but i have another problem.. why the bot doesn't answer when i try to DCC chat with it?

when i open dcc chat there is:

Chat with CBou
Waiting for acknowledgement...

and the bot doesn't answer. Why is that?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

well either the bot doesn't recognize your host, or the DCC chat doesn't work on your connection.

try /ctcp <botnick> chat if the bot requests chat then it recognizes u as owner. if not then telnet the bot (i.e. telnet <my-ip> <listen-port>) and see .help +host to add a new host into your handle.
a
artur

Post by artur »

thanks
M
Moonster
Halfop
Posts: 95
Joined: Wed Nov 13, 2002 5:39 pm
Location: Manchester NH USA
Contact:

Post by Moonster »

I use the IRCServices TCL by MC_8 .... You have to modify the script only if Nickserv is set to respond differently on your particular network
"Knowledge is Power"
BeastNH/Moonster on Undernet/EFnet IRC Network
Locked