package IDontLikeYourName
{
function GameConnection::OnClientEnterGame(%client)
{
%name = %client.name;
if(isThisAStupidName(%name))
{
schedule(50,0,"LeaveBCYourNameSucks",%client);
}
}
function isThisAStupidName(%name)
{
//perform string comparison here against words you don't like
//if match, use "return 1;", else, use "return 0;"
}
function LeaveBCYourNameSucks(%client)
{
if(isObject(%client))
{
%client.delete();
}
}
};
activatePackage(IDontLikeYourName);