| View previous topic :: View next topic |
| Author |
Message |
heroes Voice
Joined: 01 Dec 2007 Posts: 17
|
Posted: Sun Jul 20, 2008 10:57 pm Post subject: Making Eggdrop/TCL Check Identify Nick When Owner Set Passwd |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Jul 21, 2008 12:30 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|