$advancedReplaceText
$advancedReplaceText
will replace specific segments of text in sequence.
Usage
$advancedReplaceText[text;replacer;replaceTo;...]
Parameters
Field | Type | Description | Required |
---|---|---|---|
text | string | Text you want to modify. | true |
replacer | string | The text that will be replaced. | true |
replaceTo | string | The text that will replace replacer . | true |
Example(s)
This will replace Meow Cat
to Dog Woof
:
1client.command({2 name: "replaceText",3 code: `4 $advancedReplaceText[Meow Cat;Cat;Dog;Meow;Woof]5 `6});