Remove colors from a color formatted string.
This is something I ended up needing for a plugin that sends command results through a socket to a bot, to get rid of color codes from chat messages formatted by morecolors or similar.
Not the most efficient but it works. PHP Code:
|
All times are GMT -4. The time now is 23:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.