Anope IRC Services

Anope Development => Modules => Topic started by: DRAGO on June 18, 2012, 05:43:36 PM

Title: /ns set information
Post by: DRAGO on June 18, 2012, 05:43:36 PM
Please add
/ns set age ...
/ns set info ...
/ns set sex ...
and search /ns search age 25 Male, /ns search age * /ns search Female ....
Title: Re: /ns set information
Post by: katsklaw on June 18, 2012, 08:28:51 PM
it would help if you explained what version of Anope this would be for including OS and if you are willing to pay for someone to write it.
Title: Re: /ns set information
Post by: CrazyCat on June 19, 2012, 01:36:13 PM
I'm currently working on a ns_asv module. But it will only allow to add (or edit or delete) Bday, gender and location, no search. And it won't. I hate pple using IRC as a date site.
Title: Re: /ns set information
Post by: Jens Voss on June 19, 2012, 02:05:09 PM
Anope 1.9.6+ has already a module to set free configurable informations.

Quote
/*
 * ns_set_misc *
 * Provides the command nickserv/set/misc.
 *
 * Allows you to create arbitrary commands to set data, and have that data show up in nickserv/info.
*/

module { name = "ns_set_misc" }
command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; }
command { service = "NickServ"; name = "SET ICQ"; command = "nickserv/set/misc"; }

You can add additional lines for "SET AGE", "SET INFO" and "SET SEX".
It is not possible to search for it. And we dont plan to add such a feature.
But you can always write a module to search this informations.