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 

any idea how to IDENTIFY
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
V2Px
Voice


Joined: 17 Dec 2005
Posts: 2

PostPosted: Sat Dec 17, 2005 10:17 am    Post subject: any idea how to IDENTIFY Reply with quote

can i register the botnick with nickserv and IDENTIFY automaticly?

sry for my bad english Smile
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Dec 17, 2005 12:07 pm    Post subject: Reply with quote

In what situation you want that to happen?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Dec 17, 2005 12:52 pm    Post subject: Reply with quote

in DoS-ing NickServ by registering zillions of randomly generated nicks? Wink

won't succeed, modern services are protected from such endeavours by forcing delays and tracking registering IPs
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
CtrlAltDel
Halfop


Joined: 02 Jun 2004
Posts: 49

PostPosted: Sat Dec 17, 2005 2:54 pm    Post subject: Reply with quote

Gee you two are really helpful ...

V2Px .. look here
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Dec 17, 2005 3:54 pm    Post subject: Reply with quote

CtrlAltDel wrote:
Gee you two are really helpful ...

V2Px .. look here


...and you are really irrelevant with that bogus link
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Dec 17, 2005 6:35 pm    Post subject: Re: any idea how to IDENTIFY Reply with quote

V2Px wrote:
can i register the botnick with nickserv and IDENTIFY automaticly?

sry for my bad english Smile

Register a nick for the bot as you would any other:
Code:
/ns REGISTER AnyGoodPassword billy@hotmail.com

.. or (via Command Console):
Code:
.dump ns REGISTER AnyGoodPassword billy@hotmail.com

.. and for auto identify on connect (eggdrop.conf):
Code:
# 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 +iR-ws"
  putquick "privmsg nickserv :identify password"
}

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Dec 17, 2005 9:48 pm    Post subject: Reply with quote

While not getting user's rationale is something I could be rightfully accused of, Sir_Fz should have gotten it Razz

I never thought the guy doesn't know that bot's nick is like any other nick and can be registered the same way other nicks are registered; I thought he needs to register it in automated fashion, which only makes sense in DoS-ing nick services
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Dec 18, 2005 1:16 am    Post subject: Reply with quote

Although I am not as good as one other (Metroid, I think) in the double dutch stakes I have my moments. LOL
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
CtrlAltDel
Halfop


Joined: 02 Jun 2004
Posts: 49

PostPosted: Sun Dec 18, 2005 6:31 pm    Post subject: Reply with quote

demond wrote:
CtrlAltDel wrote:
Gee you two are really helpful ...

V2Px .. look here


...and you are really irrelevant with that bogus link


that "bogus link" ( http://www.egghelp.org/tclhtml/3478-4-0-0-751.htm ) as you call it is to eggdrop org's tcl archive where there are SEVERAL nickserv/chanserv/services scripts listed (which is part of what V2Px was asking for unless I can't comprehend plain english anymore). Have another glass of christmas cheer and calm down, will you?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Dec 18, 2005 6:35 pm    Post subject: Reply with quote

it's bogus since the URL is generated on-the-fly, i.e. is not permanent and referring to it is pointless, it could change anytime without you being aware of the change
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
wolfy
Voice


Joined: 21 Jan 2006
Posts: 2

PostPosted: Sat Jan 21, 2006 2:33 am    Post subject: When to identify can be strategic Reply with quote

First, thank you to V2Px to ask this question and to Alchera to answer with real code, that's clear and usefull.

Reading that, I have a few more questions :

When I look to the "bogus link" I find that code :
Code:
bind notc - "*This nickname is owned by someone else.*" identify:notc
proc identify:notc { nick uhost handle text dest } {
 global botnick nickserv identcmd identpass
 if { $nick == $nickserv } {
  puthelp "PRIVMSG $nickserv $identcmd $identpass"
  putlog "Identifying : $nickserv (as $botnick)"
 }
}


but Alchera you put a ":" just before the identify in the privmsg to the nickserv :
Code:
putquick "privmsg nickserv :identify password"

why ? (if it's a border effect of the putquick use, forget that)

Another tiny question :
To help the egg to join a restricted channel, it's very important for the identify process
to be fully terminated (to avoid the ban). How to insure that, specifically with static
channel definition in the config file ?

Thks to help a not english native newb.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Jan 21, 2006 6:17 am    Post subject: Reply with quote

lol, that link is really bogus so stop defending the fact that it is not.

':' is important when using eggdrop queue, so
Code:
puthelp "PRIVMSG $nickserv $identcmd $identpass"

should be
Code:
puthelp "PRIVMSG $nickserv :$identcmd $identpass"

or else only the first word after nickserv will be sent to nickserv. The eggdrop is supposed to identify when it recieves notice from nickserv (using your code) so it'll probably identify before joining any channel.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
CtrlAltDel
Halfop


Joined: 02 Jun 2004
Posts: 49

PostPosted: Sat Jan 21, 2006 11:25 pm    Post subject: Reply with quote

Funny, over a month after I posted that "bogus" link, it STILL points to a page full of nickserve scripts, most of which would have not only halped V2Px with scripting the solution himself if he so desired, but would have probably (depending on the network in question) have solved it with a minimal of editing.

I think you people need to stop being so high and mighty just because you know more than others and actually take the time to determine what someone asks the question for instead of jumping to conclusions and accusing them of "DoS-ing NickServ by registering zillions of randomly generated nicks".
Back to top
View user's profile Send private message
wolfy
Voice


Joined: 21 Jan 2006
Posts: 2

PostPosted: Sun Jan 22, 2006 6:26 am    Post subject: seem's bogus too Reply with quote

Ok, I tried and it doesn't work. Sure I'm doing something wrong.

As far as I understood it, I just wrote the
putquick "privmsg nickserv :identify password"
line in my existing conf in the existing init_server, replacing password with the nick's one.

And nothing happen. ( It works when I .dump a nickserv identify )

Don't you think it happens too early in the connection ?
Back to top
View user's profile Send private message
CrazyEgg
Halfop


Joined: 28 Jul 2005
Posts: 47

PostPosted: Tue Jan 24, 2006 9:01 am    Post subject: Reply with quote

Code:

putquick "$nickserv :$identcmd $identpass"


That is correct
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 -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 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