Skip to content

$advancedReplaceText

$advancedReplaceText will replace specific segments of text in sequence.

Usage

$advancedReplaceText[text;replacer;replaceTo;...]

Parameters

FieldTypeDescriptionRequired
textstringText you want to modify.true
replacerstringThe text that will be replaced.true
replaceTostringThe text that will replace replacer.true

Example(s)

This will replace Meow Cat to Dog Woof:

1
client.command({
2
name: "replaceText",
3
code: `
4
$advancedReplaceText[Meow Cat;Cat;Dog;Meow;Woof]
5
`
6
});