Here's a very very basic and messy script I whipped up out of boredom for you, type /talk to bounce around in the talking animation for about 1 second.
function serverCmdtalk(%client)
{
%client.player.playThread(1,talk);
schedule(1200,0,talkStop,%client);
}
function talkStop(%client)
{
%client.player.playThread(1,root);
}