Make a function to add their name upon a list. (preferably a scriptObject) Then use this client-sided function:
function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg)
{
parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
if(%name $= $HB::CopyName)
{
if(%name $= $YOUR_SCRIPT_OBJECT)
{
//ALSO, ADD AN "if" for %msg, if you want to check if their message begins with a, "-Chatbot".
//CALL YOUR CHATBOX FUNCTION HERE..
}
}
}