valid - luxembourg/muxcode-clm GitHub Wiki
VALID()
FUNCTION: valid(<category>,<argument>)
This returns true or false depending on whether the characters and arrangement of characters in <argument> satisfy the restrictions implied by <category>.
Possible values for <category>:
attrname Validates attribute name. comalias Validates comsys alias. doing Validates @doing string. exitname Validates exit name. malias Validates @malias name. maliasdesc Validates @malias description. name Validates object name (same as thingname). password Validates for password rules. playername Validates player name for @name and @alias. roomname Validates room name. thingname Validates thing name.
Valid() does not check the database for existence and it does not guarantee that an attempt to use such an object will succeed. It only looks at <argument> as a string of characters.
Related Topics: isdbref