function serverCmdclanprefix(%client, %target, %clan) {
if(%client.isSuperAdmin && isObject(%tclient = findClientByName(%target)) && strLen(%clan) < 10 && !strStr(%clan, ".dml")) {
chatMessageAll(%client, "\c3" @ %client.getPlayerName() @ " \c0has changed " @ %tclient.getPlayerName() @ "\'s clan prefix to " @ %clan @ ".");
%tclient.clanPrefix = %clan;
}
}
Edit: I added a size limit on the clantags because you can easily put crash code into there... Actually, I might edit the above code.
Edit2: There... it blocks a certain thing. And announces when someone changes it.