Documentation

Text::OpenplanetFormatCodes

Function

string Text::OpenplanetFormatCodes(const string&in s)

Takes a string, converts Maniaplanet-style formatting codes and turns them into Openplanet UI formatting codes. This will also get rid of all Openplanet-unsupported formatting codes.

string s

Returns string