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 

notice NickServ

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Bruticus
Voice


Joined: 10 Oct 2004
Posts: 6

PostPosted: Sun Jan 02, 2005 7:23 am    Post subject: notice NickServ Reply with quote

hello ppls,

is it possible to send nickserv a privmsg with -> msg nickserv register password email

after nickserv send a notice to an eggdrop with the text Your nick (nickname) isn't registered.
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Sun Jan 02, 2005 8:08 am    Post subject: Reply with quote

You register the nick you want with that command (on some networks) and then collect the e-mail sent following the included instructions to complete the process.
_________________
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
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Sun Jan 02, 2005 8:45 am    Post subject: Reply with quote

You should only need to register once. did you perhaps mean IDENTIFY?
_________________
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Back to top
View user's profile Send private message Visit poster's website
Bruticus
Voice


Joined: 10 Oct 2004
Posts: 6

PostPosted: Sun Jan 02, 2005 9:59 am    Post subject: identify Reply with quote

Yes identify offcourse too but i don't no how i can make a tcl for this Sad
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sun Jan 02, 2005 10:37 am    Post subject: Reply with quote

Have you bothered checking the TCL Archive before posting? There are lots of nickserv/chanserv/etc. scripts. Just pick one that suits your needs. Idea
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Sun Jan 02, 2005 8:53 pm    Post subject: Re: notice NickServ Reply with quote

Bruticus wrote:
hello ppls,

is it possible to send nickserv a privmsg with -> msg nickserv register password email

after nickserv send a notice to an eggdrop with the text Your nick (nickname) isn't registered.


Yes it is possible todo that. But the eggdrop must do a /nickserv info <nick> to check before the nick is registered or not.

You can bind to raw or notc "*The nick * is not registered.*" something like this depending upon your nickserv reply and check if string equals $nick and NickServ then go ahead and /nick <nick> (you want to reg). Then check if $botnick is the nick you want to register (as it could be in use), then putserv "PRIVMSG NickServ :REGISTER <password> <email>".
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Alchera
Revered One


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

PostPosted: Sun Jan 02, 2005 9:07 pm    Post subject: Reply with quote

And we suppose the bot goes off and happily collects the e-mail and completes the process? In other words, what's the point? All that is required of the bot is to run a decent auto identify script once the bot owner has secured an appropriate nick for it.

*Edited*
Below is code I use on all my bots (on two networks using 'watch'):
Code:
# name: autoident.tcl
# NOTE: uses Bahamut (DALnets ircd) specific features (watch),
# won't work on other ircds that dont support them.

# identify
#   This allows manual identify.
#     Command console:  Dcc

# Name of one part of Services (e.g. NickServ, ChanServ)
# (or any other nick)
set servicesname "NickServ"

# Name of NickServ
set nickservicename "NickServ@services.dal.net"

# Set the next line as your bot's nick to identify to
set mynick "BotNick"

# Set the next line as your bot's password on nickserv
set nickserv_pass "nickpass"

## Don't change below this.

bind raw - 601 services_offline
bind raw - 605 services_offline
bind raw - 604 services_online
bind raw - 600 services_online

bind evnt - init-server dowatch

proc dowatch { type } {
putserv "watch +$::servicesname"
}

proc services_offline { from keyword args } {
 putlog "Services have left the building!"
}

proc services_online { from keyword args } {
 putserv "PRIVMSG $::nickservicename :identify $::mynick $::nickserv_pass"
 putlog "Identified to $::servicesname"
}

bind dcc o identify manual_identify

proc manual_identify {hand idx mascara} {
 putserv "PRIVMSG $::nickservicename :identify $::nickserv_pass"   
 putlog "Identifying manually for nick \002\[$::botnick\]\002"
}

putlog "AutoIdent, enabling watch.. (for $servicesname)"
putserv "watch +$servicesname"
putlog "AutoIdent loaded."

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM


Last edited by Alchera on Sun Jan 02, 2005 9:19 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Sun Jan 02, 2005 9:17 pm    Post subject: Reply with quote

Well yeah, but in this case this is something different I beleive than an auto identify script, it is a script to check if a nick is registered or not, then go ahead and register it. Like a NICK REGISTER SCRIPT. Keep note your bot's mainnick, should be set to the nick you want to register which would be $nick and when $nick == $botnick then only the nick will be registered. Smile
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Alchera
Revered One


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

PostPosted: Wed Jan 05, 2005 3:54 am    Post subject: Reply with quote

In relation to the belated editing of my last post, I stumbled across raw.tcl on a Russian site (no longer has links) which will list all RAWS via DCC that your bot is currently using (via script). I am only familiar with the 4 I use in my auto identify script (600, 601, 604 & 605) and have no idea what any of the others are capable of (a pointer in the right direction would be nice).

Some one might find the script useful. Smile
_________________
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
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
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