Blah.
I sent Drys a PM asking about it, but I figured I'll probably retire from the internet before he replies
and: Katrinity fucked around with this message on 10-08-2009 at 05:34 PM.
this.
The vB link I've also seen, but you can't even look at the attachments unless you're registered. Then when you go through the trouble of registering, it tells you that you still can't do anything until you can prove you have a valid vB license. Lame.
If you've got the actual dice rolling functionality working, then getting it to embed in the post should just be a matter of replacing the tag with the formatted result before it gets submitted to the database (and flagging it to prevent further editing). If the tag gets converted to plaintext before it goes into the database, you won't need to be doing any rolling when it comes back out and you'll avoid refreshes giving different results.
Fortunately, though, I got it figured out, mostly! It's not identical to this setup, but it works.