CrazyTree

From TMW: rEvolt

This article contains information for players or people interested in playing The Mana World.

This article is for reference purpose

The features described in this article are already implemented in the game. The article should describe how a certain aspect of the game currently works. You may of course edit this article to improve the description of the circumstances. Your opinions or improvement suggestions about the described aspects themself are of course appreciated, too. But please put these on the discussion page of this article to keep facts and fiction separated.

Crazytree.png

CrazyTree

CrazyTree is a Friendly Bot written by pclouds. It is located behind the Confused Tree in Hurnscald. It will respond to certain words or smilies with smiles or words.

Functionality

The following keywords are recognized when "tree" (or "CrazyTree") is also mentioned in the same chat message.

* "tell me a joke"
* "heal me"
* "what are you"
* "who are you"
* "hi", "hey", "hello", "heya"
* "kick(s)", "shake(s)", "poke(s)", "burns", "waters", "die", "cuts", "bites", "shut up"
* When the string "talk to me tree" (or "tree talk to me"), Eliza mode is turned on for the chatter. From now on until the chatter says "bye" or "shut up",
*  all chat messages from the chatter is considered part of the conversation with tree. An Eliza script is used instead.
* When "tree" is mentioned but no other keywords are found, a response may be generated 50% of time. 
* When "tree" is not mentioned, the following patterns may be responded to:
* "hi all", "hello everybody", "hello all", "hello everyone", "hi everyone", "hey all" (50% of time)
* "happy * to all" (always)
* When tree is told to "shut up", no responses are generated until the "hi tree" (and similar patterns) are received.

Eliza mode

When the string "talk to me tree" (or "tree talk to me"), Eliza mode is turned on for the user. From now on until the user says "bye" or "shut up", all chat messages from the user is considered part of the conversation with tree. If Eliza mode is turned on successfully, the tree would say "*puts eliza hat on, continue..*".

Usage and Examples

CrazyTree in Eliza mode can response with much strings. For example, if the user says "hello" or a sentence containing "hello", CrazyTree would answer "How do you do. Please state your problem.". If the user says "computer" or a sentence containing "computer", CrazyTree would answer "Do computers worry you?", "What do you think about machines?". "Why do you mention computers?" or "What do you think machines have to do with your problem?".

Source Code

You can find the source code here CrazyTree on Github