#essentials hex code to skript

1 messages · Page 1 of 1 (latest)

long juniper
#

whos got that function?

winter jolt
#

whats an essentials hexcode?

long juniper
#

&#8700ff&l♢&#9000f1&l &#9900e3&lD&#a200d5&le&#ab00c7&lv&#b400b9&le&#be00ab&ll&#c7009d&lo&#d1008f&lp&#da0081&le&#e30072&lr&#ec0064&l &#f50056&l♢&#ff0049

winter jolt
#

all i can find is a function for rgb

long juniper
#

u can do it with regex. if i knew regex

winter jolt
#

i never said you cant ;-;

long juniper
#

i know

#

...

#

font where u at

spare imp
#

are you able to replace all x in y

sinful tide
spare imp
#

he's tryna convert

sinful tide
#

The regex to recognize it I think is &#......
Idk, I don't do a lot of regex

long juniper
#

apparently so

#

thanks

#

acc dont think so

long juniper
#

@eternal fractal care to help a noob out

serene tiger
#

&#([a-fA-F0-9]{6}) -> <#$1>

eternal fractal
#

I'm too late 😔

serene tiger
#

Ha ha bad font

hard helm
#

Try <##RRGGBB>Text

#

If it doesn't work install the plugin iridescent and try &#123456Text

eternal fractal
long juniper
serene tiger
#

replace first with second

long juniper
#

what?

serene tiger
#

replace &#([a-fA-F0-9]{6}) with <#$1>

long juniper
#

im still confused. what

serene tiger
#

i cant really explain better

long juniper
#

can u throw in an exampl

serene tiger
#

thing.replaceAll("&##([a-fA-F0-9]{6}), "<##$1>")

long juniper
#

whats the <##$1> do

serene tiger
#

<##stuff> where stuff is what the first group captured in the first pattern

long juniper
#

ohhhhhhhhhh

#

thanks boss

eternal fractal
#

mark as solved

#

and close

hard helm