//-----------------------
//The name of our chatbot
//-----------------------
$chatBot::name = "Bob";
//-------------------------------------------------------------
//Our Chatbot\'s Responses, anything that uses multiple
//Words should instead use an underscore "_" instead of a space
//Users can constantly add new keywords to respond to
//-------------------------------------------------------------
$chatBot::response["Hi"] = "Hi Hey What\'s_up Heya Howdy";
$chatBot::response["Lol"] = "What\'s_So_Funny? Haha_I_don\'t_get_it... That\'s_not_funny";
//--------------------------------------------------------
//Number of milliseconds that our chatbot will not respond
//After having responded to any phrase at all
//--------------------------------------------------------
$chatBot::timeOut = 5000;
package myFirstChatBot
{
//---------------------------------------------------------
//There are only a few parameters we need to focus on here
//Which are %name and %msg
//---------------------------------------------------------
function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg)
{
parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
}
};
activatePackage(myFirstChatBot);