#(mrcrash) Matches don't work ?

38 messages · Page 1 of 1 (latest)

quick talon
#
gusty torrentBOT
#

(mrcrash) Matches don't work ?

gusty torrentBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

glossy veldt
#

there's a probable explanation for this

#

Can you make an mcve?

quick talon
#

mcve ?

glossy veldt
quick talon
#

Mh, idk what i can add to help you, i send scrip & debug

glossy veldt
#

!mcve

lyric kernelBOT
# glossy veldt !mcve
Info: mcve

Please create a Minimal, Complete, and Verifiable Example of the problem you're reporting.
Minimal: contains nothing other than the part that's broken (and bare minimum structure).
Complete: contains everything needed to demonstrate the issue.
Verifiable: Anybody should be able to throw it on their own server and see the problem happen for themselves, without any needed tinkering.

glossy veldt
#

check these boxes

#

is it minimal?

quick talon
#

The item is an item from Advanced armor plugin

glossy veldt
#

then that's a factor you need to exclude

#

make a script that replicates this issue with as few lines of code as possible

cerulean tulip
#

Here's a thought.

#

The color code may still be contained in the display name.

#

So you may have to

#

!t elementtag.strip_color

lyric kernelBOT
# cerulean tulip !t elementtag.strip_color

Returns the element with all color encoding stripped.
This will remove any/all colors, formats (bold/italic/etc), advanced formats (fonts/clickables/etc), and translate any translatables (&translate, &score, etc).
This will automatically translate translatable sections

Group

text manipulation

Returns

ElementTag

quick talon
#

Oh the color code count

#

mb idk that

cerulean tulip
#

It's a maybe.

quick talon
#

Yeah it's working using strip_color !

#

thank's you 🙂

cerulean tulip
#

Cool. Inquisitor had the right idea though, next time try with a MCVE to make sure it's denizen that is the issue.

quick talon
#

Noted !

#

ty

quasi canopyBOT
#
Resolved

Thread closed as resolved.

quick talon
#

Up

quasi canopyBOT
#
Thread Reopened

Thread was manually reopened by @quick talon.

quick talon
#

i got an error using definition inside a item.quantity

#

But all the definition passed before ?

quick talon