Alternatively:
function servercmdReport(%cl, %t0, %t1, %t2, %t3, %t4, %t5, %t6, %t7, %t8, %t9, %t10, %t11, %t12, %t13, %t14, %t15, %t16, %t17, %t18, %t19)
{
for(%i=0;%i<20;%i++) %text = %text SPC %t[%i];
while((%temp = stripMLControlChars(%text)) !$= %text) %text = %temp;
%text = trim(%text);
messageClient(%cl, '', "\c5You reported\c4: "@%text);
%count = ClientGroup.getCount();
for(%i=0;%i<%count;%i++)
{
%this = ClientGroup.getObject(%i);
if(%this == %cl) continue;
if(%this.isAdmin || %this.isSuperAdmin)
messageClient(%this, '', "\c5"@%cl.name@" reports\c4: "@%text);
}
}
Strips control tags to keep starfishs from doing /report <just:right>forget THE ADMINS! LOL. and also only shows the sender the message once, even if they are admin themselves. Also checks against isSuperAdmin as well as isAdmin.