Okay... since no one knows how to script BB code... how about something different...
How would I make a script that examines a new post and preg_matches a thread and replaces it with content? So if someone made a post and it had:
[VIDEO]536[/VIDEO]
I would want it to preg_match it with:
\[(VIDEO|video)](\d*)\[/(VIDEO|video)]
Then of course, I would run some PHP code on the preg_match[2] returned as 536.
Would this be possible?