Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Filters: Children

DarkKronicle edited this page Apr 10, 2021 · 3 revisions

Children filters are a complex way to delegate matches found in the parent. Children filters can be put in an infinite amount of times, allowing for extremely complex filters. Children filters process and change text the same way that normal filters do.

What is given to children?

If the parent filter uses replace type children, everything that matched that filter will be given to the children to be processed.

Example

Find String: hello

Find Type: Upper lower

Message: Hello hello heLLO!

The children will each be given the following messages with the correct color formatting (in order) Hello, hello, heLLO.

How do children alter text?

Whatever is altered by children will be sent back to replace the current match. When the text is replaced, the replaced text will go to the next child in the list and the cycle repeats.

Example

Main message: Hello how is it going?

Parent filter:

Received Hello Sent to child ->

  • Altered Hello to Hi

Sent Hi to next child ->

  • Altered Hi to hi

Sent back to parent

  • Replace Hello with hi

Final message: hi how is it going?

Clone this wiki locally