Typewriting Text effect, looking for further info

Found a somewhat useful tutorial on getting a Typewriter effect for a string of text in AS3.
http://lewinzki.com/tutorials/actionscript/type_writer.php
At the end of the Tut, the author mentions being able to recognize characters and creating additional functions, such as pause for a duration when a comma is reached.

1st. Does anyone have or know of such an example? I’m not clear on how to script this concept.

2nd. I notice the /n in the string gives a line break effect. Where can I find out what all of these /commands are?

3rd. Is it possible to script my own /commands to be called while the typewriter is typing? I want to trigger a function at a given point, such as to display a button, and not display the /command as text.

I checked a few websites for answers. Apparently I’m not using the right search terms.