egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems with NickServ identify on IRCNet
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
deejayb
Voice


Joined: 27 Jul 2009
Posts: 23

PostPosted: Sat Aug 08, 2009 10:46 pm    Post subject: Reply with quote

Hi again!!!!!!!
Well...it's not change anything..... Sad
The BOT enter without problems, but seems to don't identify itself to nickserv.....
Tnx so much!!!!!!!!!!
Back to top
View user's profile Send private message
deejayb
Voice


Joined: 27 Jul 2009
Posts: 23

PostPosted: Sun Aug 09, 2009 12:05 am    Post subject: I've resolved the problem!!!!!!!! (we can mark as "SOLV Reply with quote

Here we are the modify to the eggdrop.conf file:

# 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
adduser services *!*services@icq.com
chattr services +f
putquick "MODE $botnick +i-ws"
utimer 8 putserv "/ns identify montagna"
}

.....

# This line loads script.tcl from the scripts directory inside your Eggdrop's
# directory. All scripts should be put there, although you can place them where
# you like as long as you can supply a fully qualified path to them.
#
# source scripts/script.tcl
source scripts/identify.tcl
source scripts/alltools.tcl
source scripts/action.fix.tcl

........

# Ident script for Windrop by FireEgl@EFnet <FireEgl@LinuxFan.com>
# uses username value for ident name by default
# read the start of script for more documentation
# uncomment (remove # in front of line) next line to activate
#source scripts/winident1.2.tcl
source scripts/identify.tcl


And here the identify.tcl script:

###########################################################
#
# Identify 1.0 tcl for eggdrop (20/01/2005)
# by lnx85 at #lnxlabs on AzzurraNet (irc.azzurra.org)
# E-mail: lnx85@lnxlabs.it
#
# Impostare la password del nick nella variabile identify(pass) (vedi GLOBALS)
# Lo script è pensato per Azzurra ma, con qualche piccola modifica, è adattabile
# anche ad altri Network
#
###########################################################

### GLOBALS ###
set identify(pass) "montagna"
set identify(ns) "NickServ!service@icq.com"
set identify(cs) "ChanServ!service@icq.com"
### END GLOBALS ###

### BINDS ###
bind evnt - init-server identify:identify
bind notc - *nick*registrato*altro*utente* identify:notice
bind notc - *rimangono*secondi*cambiare*automaticamente* identify:notice
### END BINDS ###

### PROCS ###
proc identify:identify { type } {
set ns [ lindex [ split $::identify(ns) "!" ] 0 ]
putserv "PRIVMSG $ns :IDENTIFY $::identify(pass)"
}

proc identify:notice { nick host handle text dest } {
set ns [ lindex [ split $::identify(ns) "!" ] 0 ]
putserv "PRIVMSG $ns :IDENTIFY $::identify(pass)"
}
### END PROCS ###

### INITIAL ###
if { ! [ validuser [ finduser $::identify(ns) ] ] } {
adduser NS [ lindex [ split $::identify(ns) "!" ] 1 ]
chattr NS +f
}
if { ! [ validuser [ finduser $::identify(cs) ] ] } {
adduser CS [ lindex [ split $::identify(cs) "!" ] 1 ]
chattr CS +f
}
putlog "\037IDENTIFY\037 \002::\002 \037LOADED\037 version 1.0 by lnx85
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sun Aug 09, 2009 1:04 am    Post subject: Re: I've resolved the problem!!!!!!!! (we can mark as " Reply with quote

deejayb wrote:
proc evnt:init_server {type} {
global botnick
adduser services *!*services@icq.com
chattr services +f
putquick "MODE $botnick +i-ws"
utimer 8 putserv "/ns identify montagna"
}


This shows you cannot listen to advice and probably are a bad candidate for actual help. You've used / in your putserv again clearly thinking eggdrop behaves as mIRC does. You should just create an mIRC bot for your projects and give up ever trying to get eggdrop to work. Clearly since you can't listen to the help already given, then repeating it several times causing this thread to span 15 pages won't do much good either (expect bump my post count higher which is irrelevant anyways). My advice to you is to seriously re-read this entire thread from front to back several hundred times until you figure it out. All the advice you need is already here.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Callisto
Halfop


Joined: 13 Mar 2005
Posts: 86

PostPosted: Sun Aug 09, 2009 8:55 am    Post subject: Reply with quote

hi deejayb, have you even looked in the tcl archive? there are a load of id scripts in there for many services types. I use the dalnet ones myself and tweak the scripts to fix any differences between the services. You have not really given enough info either, what is the services challenge? how does it ask for id ? is this your own ircd/services? need loads more info. Also listen to what these guys say, they been doing this long enough. And if the whole concept of ircd/services/eggdrops leave you confused? give up and join someone elses network.
Good luck
Back to top
View user's profile Send private message
gogers
Voice


Joined: 16 Aug 2009
Posts: 5

PostPosted: Sun Oct 04, 2009 6:37 am    Post subject: Reply with quote

add these line anywhere in conf file.

###identify###

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
global botnick
putquick "PRIVMSG NICKSERV@services.icq.com :IDENTIFY yourbotnick yourbotnickpassword" }


note: do /nickserv help, you will get more info about nickserv and its mask.

example of dalnet


.:13:33:45:. -NickServ- ***** NickServ Help *****
.:13:33:45:. -NickServ- NickServ permits users to 'register' a nickname, and stop
.:13:33:45:. -NickServ- others from using that nick. NickServ allows the owner of a
.:13:33:45:. -NickServ- nick to disconnect a user using the owners registered nick.
.:13:33:45:. -NickServ- If a registered nick is not used by the owner for 30 days,
.:13:33:45:. -NickServ- NickServ will drop it, leaving it up for grabs by another user.
.:13:33:45:. -NickServ- Please do NOT register more nicks than you will actively use! =)
.:13:33:45:. -NickServ-
.:13:33:45:. -NickServ- For more information on a command, type
.:13:33:45:. -NickServ- /msg NickServ@services.dal.net help <command>
.:13:33:45:. -NickServ-
.:13:33:45:. -NickServ- Core Commands:

some IRCD's will not show it. in that case do /whois nickserv
and find the hostmasks

NickServ is service@dal.net Nick Registration Service (Internic Network)
NickServ using services.dal.net DALnet services home base

that will be your hostmask, ie nickserv@services.dal.net

hope this one helps
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber