This script is a bot that chats and can be easily customized!
How to configure the XML
Best way to learn is to look at the XML inc />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 ":",
You can also 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.
Download from: Softpedia Secure Download (US)