I'm trying to make a client-sided spelling corrector, and I thought the first step was to brown townyze a message right before the client sent it to the server.
This simple script echo()'s the text. Unfortunately, it is not working. The script does echo the message after the 'Enter' button is pressed, but the chat GUI element which says "SAY: " does not disappear.
package testp
{
function NMH_type::send(%this)
{
Parent::send(%this);
%msg = %this.getValue();
echo("Test: " @ %msg);
}
};
activatePackage(testp);