Anope IRC Services

Anope Development => Feature Requests => Topic started by: n0kS Phr33d0m on January 28, 2012, 05:56:51 PM

Title: Change registered nickname
Post by: n0kS Phr33d0m on January 28, 2012, 05:56:51 PM
Hello, this is more of a module request as I'm not sure it'll get into the core project.

So the request is as follows: I'd like services admins to have the ability to change registered users' nicknames without having the user to drop the previous nickname, register the new one, add all the data (email, url, etc...) to the new one, etc...
That way the user will have his new nickname with everything he had in the previous one (including the "-NickServ-   Time registered:").

Example:

* User before:
-NickServ- david is David Jackobs
-NickServ-    Is online from: david@somehost
-NickServ-   Time registered: Dec 13 01:23:30 2011 CET
-NickServ- Last quit message: Client exited
-NickServ-             vhost: somehost
-NickServ-           Options: Protection, Security, Private

* Services admin: /msg operserv changenick david d-jackobs

* User now:
-NickServ- d-jackobs is David Jackobs
-NickServ-    Is online from: david@somehost
-NickServ-   Time registered: Dec 13 01:23:30 2011 CET
-NickServ- Last quit message: Client exited
-NickServ-             vhost: somehost
-NickServ-           Options: Protection, Security, Private

This would be useful for those networks where users usually pertain to some 'group' or whatever: [M4A1]john can become [AK47]john if he changes his gameplay group in counter-strike/wow/etc...

Thanks in advance.
Title: Re: Change registered nickname
Post by: katsklaw on January 28, 2012, 06:20:30 PM
Users: /ns help set display

Services Opers: /ns help saset display
Title: Re: Change registered nickname
Post by: n0kS Phr33d0m on January 28, 2012, 06:29:08 PM
Users: /ns help set display

Services Opers: /ns help saset display
That's not what I meant. This will change the main display nick in a GROUP. What I suggest is to change the registered nickname itself keeping all the data related to it.
Title: Re: Change registered nickname
Post by: Adam on January 28, 2012, 06:38:21 PM
You want to use something like http://modules.anope.org/index.php?page=view&id=102, then saset their display and drop the old nick.
Title: Re: Change registered nickname
Post by: n0kS Phr33d0m on January 28, 2012, 06:50:36 PM
You want to use something like http://modules.anope.org/index.php?page=view&id=102, then saset their display and drop the old nick.
But.... uh, that implies the user registers the new nickname so the services admin has to group it with the old one (which the user can do it by himself..?! and which implies that all the data (url, email, greetmsg) will be lost) which loses all the point of what I'm suggesting.
Title: Re: Change registered nickname
Post by: Adam on January 28, 2012, 06:55:27 PM
No it doesn't, try it.
Title: Re: Change registered nickname
Post by: Naram Qashat on January 30, 2012, 04:49:39 PM
Besides, if a user groups a new nick to an existing group, then drops the 'display' nick, it doesn't get rid of the entire group, it changes the display nick of the group to one of the other nicks in the group.  So nothing is lost anyways, unless the group has one nick and they drop that.  And the user can do all this anyways, without the intervention of a Services Admin.