You want to add BBCode in your script? Huh? You mean the same sort of tags vB uses? I think it works using regular expressions, so when, for example, you pull your content from a DB it checks through for any existence of a tag, and if it finds it, adjust it accordingly.
As for (2) - what do you mean? You want a script that lets yuo be a webhost?