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.

Making Eggdrop/TCL Check Identify Nick When Owner Set Passwd

Help for those learning Tcl or writing their own scripts.
Post Reply
h
heroes
Voice
Posts: 17
Joined: Sat Dec 01, 2007 5:34 am
Contact:

Making Eggdrop/TCL Check Identify Nick When Owner Set Passwd

Post by heroes »

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.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
Post Reply