Sorry to sound like a noob, but where would I put the messagesent bit:
function serverCmdMessageSent(%client, %text)
{
if(!isClean(%client.name,%msg)){return;}
messageAll('chatMsg','\c4%1: %2',%client.name,%msg);
%text = StripMLControlChars(%text);
if(strlen(%text) <= 1)
{
return;
}
%obj = %client.player;
%obj.playthread(0, talk); //fwar play talk animation
%obj.schedule(strlen(%text) * 50, stopthread, 0);
?