To download this demo for your Linux/Mac installation, enter this on your command line:
Emulator users, in the BYOND pager go to File | Open Location
and enter this URL:
|Date added: ||Jan 17 2012|
|Last updated: ||Jul 20 2013|
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.
<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!
Copyright © 2016 BYOND Software.
All rights reserved.