package swearAutoKick
{
function servercmdmessagesent(%client,%message)
{
if(
strstr(%message,"forget") ||
strstr(%message,"stuff") ||
strstr(%message,"ass") ||
strstr(%message,"cunt") ||
strstr(%message,"monday") ||)
{
%client.delete("Are host is a loving pusillanimous individual and doesn\'t like swearing, sorry.");
messageall('','\c3%1\c0Has been kicked for swearing (Yeah i know, the host is a pusillanimous individual)',%client.name);
echo("This server sucks.");
return;
}
parent::servercmdmessagesent(%client,%message);
}
};
activatepackage(swearAutoKick);
The fact that you want to remove swearing seems pointless and will end in failure.
You know allot of Innocent bl'ers will get kicked for saying something like this:
"This server is badass!"
Even though it was a complement, you still kick him.
I find the best way is to deal with it. swearing will always exist, mite as well get used to it.