Page 1 of 1

Enforcing nickname formats

Posted: Mon Mar 14, 2011 8:00 pm
by lex0r
Sorry if this is obvious, but I had a look and couldn't find anything. Perhaps I don't know the right things to search?
Anyway, is there a way to force nicknames to always obey a regular expression?
For instance, I want every user to always have a name that matches /^[a-z]+[A-Z][a-z]+$/, and to deny connections or changes that violate this.
If anyone knows, I'll be grateful.
Muchas gracias,
~Lex0r.

Re: Enforcing nickname formats

Posted: Tue Mar 15, 2011 2:47 am
by Stealth
The only way to do this would be through a custom module that checks nicknames when users connect and when users change their nicks.

Another less friendly option would be use create a bot or service that monitors nicks and kills users who do not keep the proper format.