You messed up the message all part. See the messageClient lines in this code for reference.
function servercmdWarn(%client, %user)
{
if(%client.isSuperAdmin == false || %client.isAdmin == false)
{
return;
}
if(%user !$= "")
{
%target = findClientByName(%user).player;
%targetC = findClientByName(%user);
%target.warn();
messageClient(%client, '', '\c2%1\c6 has been warned.', %targetC.name);
messageClient(%targetC, '', '\c6You have been seen breaking a rule by an \c5Admin\c6 or \c5Super Admin.', %user);
messageClient(%targetC, '', '\c6Further abuse could result in a kick, or ban.', %user);
}
}
This script messages the client with a warning, and the person issuing the warning gets a confirmation msg that the offender has been warned.