Advanced Filters
Optional Filters
When adding filters to your server’s settings, you can mark them as optional.
When two or more optional filters are beside each other, only one of them has to pass to allow the message to get stars.
This guide will use the following scenario:
You have 3 filters:
-
“Cat Lover” - a message must include the word “cat” and have 300 or more characters
-
“Dog Lover” - a message must include the word “dog” and have 20 or more characters
-
“Animal Image” - a message must include at least 1 attachment
You want to set up your server so that users must pass the third filter, and must pass either the first or the second filter (either be a cat or dog lover, and show proof).
- All you have to do is add the filters, ensuring you mark the mutually-dependant ones as optional:
`/filter addfilter:Cat Loversettings:Server Settingsoptional:True``/filter addfilter:Dog Loversettings:Server Settingsoptional:True``/filter addfilter:Animal Imagesettings:Server Settings`
That’s it! Now messages need to pass the “Animal Image” filter, and need to either pass the “Cat Lover” filter or the “Dog Lover” filter.