Subscribe to our newsletter:
Awaiting 3 votes.
Posted by : Librarian on 12/07/2007
16599 pageviews, 1128 downloads
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







help
and feedback
latest
news
latest
forum entries