If you're looking to
play through existing dialogues (as opposed to
writing new dialogues of your own) then the simplest approach is to download a ready-made pack. For example:
WeeWillie's Slave Bazaar and
Slingerbult's dialogue bundle each include a copy of the dialogueActions mod, animtools mod, and various supporting mods and scripts. You should be able to play them out-of-the-box simply by running the
Loader.swf file, allowing the game to initialize, and then choosing the desired story from the character roster.