PDA

View Full Version : editing message


Oficer
12/05/2019, 02:16 PM
How I can make dynamic convert message with color?
For example
Player writing message: "Ohh Bro *laugh*, thanks" and when message is send looks like:
"Ohh Bro *laugh*, thanks"

Koreadars
12/05/2019, 03:00 PM
You can use strlib. (strreplace)

Oficer
12/05/2019, 04:57 PM
Yes, but I want two of the same characters ** and I don't know how replace like this {FFFFFF}XXXX{ff00ff}*TEXT*{FFFFFF}XXXX