Anope IRC Services

Anope Development => Feature Requests => Topic started by: n0kS Phr33d0m on November 05, 2008, 06:29:31 PM

Title: RegUser Module
Post by: n0kS Phr33d0m on November 05, 2008, 06:29:31 PM
Hello. Here's the idea.
Services (Root) Admins (or SuperAdmins) have the ability of registering other users nicknames without changing their own...

Here's the situation:
1. You have a user new to (m)IRC chat or other....
2. You explain to him how to register his nick.... He doesn't understand.... :\
3. You type /msg ns reguser <nick> <pass>
4. At the time you register the nick, there should appear to the user the "identify nickserv lines" (...) :
[15:22:08] -NickServ- This nickname is registered and protected.  If it is your
[15:22:08] -NickServ- nick, type /msg NickServ IDENTIFY password. Otherwise,
[15:22:08] -NickServ- please choose a different nick.

5. In my situation I had to register my BOPM's and my Eggdrop's nicks (because of databasa lost or whatever it was...) and I was changing nicks, registering, loosing my OS powers, etc....

ps: I know the situation with the stupid guy wasn't very good because when you register the nick he will need to type other command anyway... but I think this module will be very useful...

Thanks!
Title: Re: RegUser Module
Post by: zEkE on November 05, 2008, 06:49:16 PM
It would be useful in the case of a web-registration system, a bot with oper powers comes online and registers the users name, and it doesn't matter if the name is in use or not..
Title: Re: RegUser Module
Post by: n0kS Phr33d0m on November 05, 2008, 07:58:45 PM
ok here's what I wanted :)
http://www.anope.org/modules/ns_regnick.c
it's an old module, but it works for me (Anope 1.7.21)

no compile problems and no functional problems

[20:47:54] >os< modload ns_regnick
[20:47:54] <Global> OperServ: n0kS: modload ns_regnick
[20:47:54] <Global> Trying to load module [ns_regnick]
[20:47:55] <Global> Loading module ns_regnick.so
[20:47:55] <Global> [ns_regnick] Command ADDED: /msg NickServ REGNICK nick pass [email]
[20:47:55] <Global> [ns_regnick] Yayness!(tm) - MODULE LOADED AND ACTIVE
[20:47:55] -OperServ- Module ns_regnick loaded
[20:47:55] <Global> Module loading status: 0 (Module, Okay - No Error)
Title: Re: RegUser Module
Post by: Jan Milants on November 05, 2008, 09:50:54 PM
it won't work on anything newer then .21 though...
Title: Re: RegUser Module
Post by: Master on November 14, 2008, 08:34:32 PM
Sadly...I was reading this and thought of using it, only to realize the network's running .24 :(
Title: Re: RegUser Module
Post by: Jan Milants on November 15, 2008, 02:07:21 PM
then you will have to wait a bit... the module will be updated.. it s just a matter of when..  :-\
i m reinstalling my dev box atm cuz during reinstall of vista the installer decided it would be a gd idea to delete my 3 linux partitions  >:(