Been messing with this for a few hours, I think it looks nice. The script's pretty sloppy, though. It was one of those keep-chucking-****-in-as-you-go-along deals. Hell, it works and it looks nice, though! :P
Sample dialogue file, as you can see "-player" doesn't have to be defined as a character and displays the player:
DIALOGUE
-player: Ah, hello Bob.
Bob: Oh hey. How's it goin'?
-player: Just dandy.
Bob: I'll be on my way then.
Bob: Boy, don't you wish word wrapping worked correctly? I mean, I wish it only wrapped at the correct intervals to let words finish. I'd write a function myself, but I'm too lazy! Oh well..
-player: What?
Cheese!: BAAAAAAAAWH!!
-player: What..?
Bob: Run away!!! =(
DIALOGUEEND
And the script, it's in weapon form, but could easily be adopted as a class/DBNPC type deal. It's attached as a text file.
And a video because I get bored easily:
If you're interested as to why I make a video for everything I share (See other thread), it's because I like to share the kind of music I like to people subliminally.