If someone wants to package/test it, be my guest.
No point in testing since it's the most simple thing since sliced bread.
function serverCmdMC(%this, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10, %a11, %a12, %a13, %a14, %a15, %a16, %a17, %a18, %a19, %a20)
{
if(!%this.isAdmin)
{
messageClient('', %this, "You are not admin.");
return;
}
if(%a1 $= "")
{
messageClient('', %this, "Usage : /mc [text]");
return;
}
for(%i = 1; %i < 21; %i++)
{
%word = %a[%i];
if(%word !$= "")
{
if(%string $= "")
{
%string = %word;
}
else
{
%string = %string SPC %word;
}
}
}
bottomPrintAll("\c6" @ %string, 5);
messageAll('', "\c6" @ %string);
}