package test {
function NewChatSO::addLine(%this, %line) {
%p = parent::addLine(%this, %line);
if(strstr(%line, "asdf") >= 0) {
echo(1);
return;
}
return %p;
}
};
If myself or anyone else in the server types asdf in the chat it echos the 1 but doesn't stop the line from going into my chat.