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 Identification problem

Old posts that have not been replied to for several years.
Locked
j
joanorsky

Nickserv Identification problem

Post by joanorsky »

Hi there,
i am using a Portuguese irc network to connect my bot to.. and i've been so many hours trying to figure this out.. can anyone help ?

So the problem is like this... (SirHackaLot is the name of the bot)
Original
(23:43) › Join: SirHackaLot entrou (SirHackaLo@127.18.54.73)
(23:44) › Part: SirHackaLot saiu #gsmdevices (SirHackaLo@127.18.54.73)
(23:44) › Join: GuestDE22DD entrou (SirHackaLo@127.18.54.73)
(23:44) › Nick: GuestDE22DD agora é SirHackaLot
(23:44) › Quit: SirHackaLot saiu do IRC (SirHackaLo@127.18.54.73) Client exited
Translated to english
(23:43) › Join: SirHackaLot enters (SirHackaLo@127.18.54.73)
(23:44) › Part: SirHackaLot left #gsmdevices (SirHackaLo@127.18.54.73)
(23:44) › Join: GuestDE22DD enters (SirHackaLo@127.18.54.73)
(23:44) › Nick: GuestDE22DD is now known as SirHackaLot
(23:44) › Quit: SirHackaLot left IRC (SirHackaLo@127.18.54.73) Client exited (here i've killed the PID.. so not actually klined)
As you see .. the bot enters the channel.. but after a while it just disconects.. and enters again.. IDs itself.. but it does not authenticate to nickserv (i think).. so it goes out again.. and on.. and out.. and on.. until klined... :(

I tryed a lot of id tcl scripts and none worked .. and i think it is coz they were translations of the comand "/msg nickserv identify <password>" to TCL but for security reasons PTNET's nickserv does not allow such id.. it requires the /quote command.. such as "/quote nickserv identify <password>"
I am a newbie on this tcl scripting (i bet u noticed this right ? :D :mrgreen: ) so i still don't really know how the sintax is processed. In order to pprocess my identification on IRC client i use the cmd line "/quote NickServ <pass>", how can i put the same thing on my bot when it starts .. but in TCL format or in eggdrop.conf (so that he can id him self when on network entry)?

Heellllppp plzz... i am going coocooo with this !! :P

Thankz in advance to all scripters..:)
t
the_crow
Halfop
Posts: 42
Joined: Fri Feb 28, 2003 7:37 am
Location: Lisboa, Portugal

Post by the_crow »

hi compatriota :)
Try to put this line in your conf file
set init-server { putserv "nickserv identify password_do_bot" }
Se precisares de ajuda, aparece no #eggdrops da ptnet :) meu nick o mm daki mas |The_Crow|
j
joanorsky

Post by joanorsky »

the_crow wrote:hi compatriota :)
Try to put this line in your conf file
set init-server { putserv "nickserv identify password_do_bot" }
Se precisares de ajuda, aparece no #eggdrops da ptnet :) meu nick o mm daki mas |The_Crow|

Thankz man.. but i already had solved it out.. my egg some how was confliting with init server variables.. so i've coment them out of running.

Inicially wrote:# 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"
putquick "MSG NickServ identify <password>"
}
Afterwards wrote:# 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"
# putquick "MSG NickServ identify <password>"
#}

set init-server {
putserv "MODE $botnick +is-wg"
putserv "NICKSERV IDENTIFY <***password***>"
putserv "MEMOSERV DEL ALL" ...This one is was opcional of course.. but i don0t like memos to bot...
}


But thankz anyway.. i really don't know why this thing was happening.. but i must personally thank The_Crow for his assistence.. he actually was looking for me on this IRC network to help, we don't see this kind of iniciative very frequently... so.. BIG THANKS TO YOU !! 8) 8) 8)
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Put this into your .conf file or into a .tcl file.
Just remember to edit your bots nick password.

Code: Select all

set init-server { 
 putquick "MODE $botnick +i-sw" -next
 putquick "PRIVMSG NickServ :identify $botnick <nick password>" -next
}
·­awyeah·

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