Enforcing nickname formats

These are old archives. They are kept for historic purposes only.
Post Reply
lex0r
Posts: 1
Joined: Mon Mar 14, 2011 7:56 pm

Enforcing nickname formats

Post 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.
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: Enforcing nickname formats

Post 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.
Post Reply