IsValidName

From ESOUI Wiki

Jump to: navigation, search

This function ostensibly tests whether a player-character name is valid; this is how it is used in Zenimax's files, and this is how it's named. However, it only appears to test against a wordfilter. Names that contain obscenities cause the function to return false, while all other names seem to return true.

In particular, the following arguments all return true, even though according to the UESP they wouldn't be valid as character names:

Example

local doesNameContainProfanity = IsValidName("WABBAJACK! WABBAJAAAAAAAACK!")

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox