Joined: 14 Jan 2005
Location: South America
|Posted: Fri Feb 24, 2017 4:16 pm Post subject: Strip color from a variable?
I have a color trigger on my mud prompt that among other things captures into a variable my opponent name..
once i want to use that var over a conversation it displays the color codes:
You say: '?[1;32mRoyal guard?[37m?[0m'
is it possible to strip color codes from a variable? Right now i cant switch my color trigger to a plain one..cuz besides the opponent i do other stuff with colors that r working right.