Convert BBcode to corresponding HTML. This is a direct hook into the internal function that GSAK uses to convert BBcode to HTML, thus enabling you to support BBcode in html that macro authors may generate.
Example:
$bbcode = "[b] this is bbcode bold [/b] [red] and this is bbcode red [/red]"
$html = bbcode($bbcode)
MsgOk msg=$html