This is a bot that chats and that can be easily customized!
How to configure the XML
Best way to learn is to look at the XML included, the root node can be named anything, and after that the node names are the key words, the program takes a sentence, breaks apart the words and searches the keywords in order till it finds some text.
Special Characters
In the XML you can include special character that add functionality:
the "|" character (with out quotes) is used in the XML to represent a newline
the ":" is used to indicate a function call, the component will call it's callback function and pass it the string after ":",
Check the included FLA for an example on how this works.
Functions
It really only has one function "say(text)" this makes the bot say what ever you pass it.
Available:
Flash Player 7 and above (ActionScript 2.0)
Credits:
Flash Player 7 and above / AS 2.0 adjustments - Librarian
Flash Player 6 / AS 1.0 original development - Chad Adams
Resource Posted
by:
Flash Components. This script listing has been viewed 2567 times so far.
Search Scripts Disclaimer - Please be aware Search-Scripts.com accepts no responsibility for the scripts, components & software you are downloading. The same applies to the information provided about the Web Scripts, Tutorials & Software Products listed, as the producer can modify it without notifying us. Even if we try to check the files for viruses ourselves, we cannot guarantee 100% that they are clean. For your own protection always check downloaded files for viruses.