BB Code

by Metamorphman
Use bbcode in your games!
Using BBCode is a nice way to handle how players are allowed to customize output text in your games without interfering with smilies such as >_> and <_< (in the case you're going to parse them into icons)

As an example, in bbcode, the counterpart to <b>test<b> would be [b]test[/b]

With the html_bb list, you are also able to shorten tags as well.
For example:
<font color = red>test</font>
is shortened as:
Easier, yes? :D

The bbParse proc provided also has the convenience of returning an empty string if there is nothing between or outside the tags. NOTE: make sure to call bbParse after using html_encode!