Improvements for Profanity Validator
SAMMI Input Validator » Devlog
The following has been improved for Profanity Validator command:
- You can have as many custom bad words as needed. The settings button now correctly accepts both arrays and a string of comma separated bad words.
- Any space at the beginning/end of the bad word is now automatically trimmed.
- Save Variable (result) now correctly populates it with either
1
if profanity was found or0
if it wasn’t.
Added more information about how the Profanity Validator command works:
Input
- input to check for bad words
Replace bad word with
- character or word to replace the bad words with
- if a single character is used, it will replace each letter
- Accepts: _, ~, -, =, | and *
- if 2 or more characters are used, it will replace the whole words with it
- Accepts: letters, numbers, _, ~, !, -, =, |, ’, “, *, ({ }), [ ], ()
- Maximum length is 20 characters
Save Variable (result)
- returns 1 if any profanity was detected or 0 if no profanity was detected
Save Variable (modified)
- returns the whole modified string with any replacements
- returns undefined if no bad words were found
Files
Input Validator.sef 36 kB
Mar 16, 2023
Get SAMMI Input Validator
Buy Now$2.99 USD or more
SAMMI Input Validator
Status | Released |
Category | Other |
Author | Christina K |
More posts
- 1.3 Update to add 'Normalize' option74 days ago
- Input Validator Improvements and Bug FixesJul 30, 2023
Leave a comment
Log in with itch.io to leave a comment.