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 

Making Eggdrop/TCL Check Identify Nick When Owner Set Passwd

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
heroes
Voice


Joined: 01 Dec 2007
Posts: 17

PostPosted: Sun Jul 20, 2008 10:57 pm    Post subject: Making Eggdrop/TCL Check Identify Nick When Owner Set Passwd Reply with quote

Hi all,

how to do the coding for the tcl, so that after we added a new owner, the eggdrop will identify whether the new owner has identified his nick or not before accepting to set the password to the eggdrop.

if not identified nick, the eggdrop will not accept his password and tell him to identify nick first before set his password to the eggdrop.

if identified nick, the eggdrop will accept to set his password to the eggdrop, and identify him as the new owner.

please give me some example code. NB : set password to eggdrop via PRIVMSG.

Before Thank's You All for help.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Jul 21, 2008 12:30 pm    Post subject: Reply with quote

First off, how would an user identify in the first place without a password?
And why would you grant owner privileges to a user record that has no password set yet. The "normal" approach is to create a new user record with limited/none privileges, add restrictive hostmasks, contact the user and tell then to set a new password. Once the user confirms they've successfully set their password, add further privileges and hostmasks as needed.

The above process could of course be somewhat automated through script, but securing it would require additional work.

A different approach could be to create the user record with a random password, which you distribute to the new user somehow. I guess this would be somewhat similar to the "identification" you are talking 'bout. After all, that's what we use passwords in eggies in the first place...
_________________
NML_375, idling at #eggdrop@IrcNET
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 -> Scripting Help 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