Hi, I want to know how to make skript calculate the lenght of a word.
The "{OPTIONS::ANTISWEAR::Word-Replacer}" equals to "*".
When it detects a blocked word, if replaces it with one '*' only. I want it to replace the word with the same '*' as the lenght of the word.
code_language.skript:
on chat:
replace all {OPTIONS::ANTISWEAR::WORDS::*} in message with "%colored {OPTIONS::ANTISWEAR::Word-Replacer}%"
When it detects a blocked word, if replaces it with one '*' only. I want it to replace the word with the same '*' as the lenght of the word.