Actually I determined you can and it is very simple.
I realized that the chatcmd was just issuing slash commands. If you left origin parameter to default that it would just do a /tell to botname.
I made a simple function that will only prefix the output with a leading "/" and just add what you send it. So ...
function plainchat($link, $title)
{
$retStr = "<a href='chatcmd:///".$chatcmd.$link . "'>" . $title . "</a>";
Return ($retStr);
}
Used like: plainchat("who ".$name, $name)
would create a link in the info window that is $name and clicking it will send /who name to the chat command line.