You posted no code for us to help with, only the question "is that possible?"
So; to answer your question: yes.
else if(getwords(%msg, 0, 1) $= "Chatbot do" && getWord(%msg, 3) $= "+" && getWordCount(%msg) == 5)
{
%a = getword(%msg,2);
%b = getword(%msg,4);
%c = %a + %b;
commandtoserver('messageSent',"[Chatbot]: " @ %a @ " + " @ %b @ " = " @ %c);
}
thats what i have but i want to make it "-calc [question]"
not "chatbot do [question]"
you know what i mean?