Placeholder for repeating the text

A placeholder that allows you to repeat the text.


Meaning

Allows you to repeat the text as many times as you will specify.


Format
%CEP_repeat_<text>_<amount>%

<text> – the text to repeat; (MANDATORY)

<amount> – the amount of times to repeat. (MANDATORY)



Targets
  • Texts.


Where is useful

For example, if you want to quickly and easily set the lore of the item with already existing lore through the change_item action, you can use this placeholder to repeat "|" symbol (new line symbol in the "lore" option in the "change_item" action) as many times as the current lore length, using the item placeholders to check the lore length. This is not the only way to do it, but still may be useful.


Examples
%CEP_repeat_Hello_5% # Repeat the "Hello" word 5 times
%CEP_repeat_|_{CEP_item_loreAmount_HAND}% # Repeat the "|" symbol as many times as lore length of the item in the player's hand (see "Where is useful" for more info)