Mote haters

Author Topic: Mote haters  (Read 4325 times)

If you hate the mote clan then lets make a script that blacks the clan tags from your server? what you say? yes,no,maybe?

Impossible to ban the clantag itself for sure since clan tages aren't always contained in a [] or () and other forms of clan tag can be missed. BoB is someone with his name in [].

it is possible.  I seen a server that did it.

Why do you hate MotE? Why did you post this here?

it is possible.  I seen a server that did it.
You said all clans, and not all clans use a identifable clan tag symbol. They may use - marks, which others may use for their name itself, for example. You can't censor all clan tags because people use clan tag stuff for other stuff besides clan tags :o

Spation is posting here now
« Last Edit: February 06, 2007, 01:08:16 PM by -=>RR<=-MasterCE »

Why do you hate MotE? Why did you post this here?

Because I hate mote.

I never even see MotE clan members anymore

Impossible to ban the clantag itself for sure since clan tages aren't always contained in a [] or () and other forms of clan tag can be missed. BoB is someone with his name in [].

Well - This just proves your incompetence. Its a 1 line piece of code to ban a clan tag :/

Impossible to ban the clantag itself for sure since clan tages aren't always contained in a [] or () and other forms of clan tag can be missed. BoB is someone with his name in [].

Well - This just proves your incompetence. Its a 1 line piece of code to ban a clan tag :/

o rly?



Why do you hate MotE? Why did you post this here?

Because I hate mote.
Note my use of the word why in the first question, and answer the second. Why did you post this here?

I never even see MotE clan members anymore
*Cough* *Cough*

I hate mote get over it.  And like everyone else does to.

Impossible to ban the clantag itself for sure since clan tages aren't always contained in a [] or () and other forms of clan tag can be missed. BoB is someone with his name in [].

Well - This just proves your incompetence. Its a 1 line piece of code to ban a clan tag :/
Code: [Select]
function GameConnection::setPlayerName(%client,%name)
{
%client.sendGuid = 0;
// Minimum length requirements
%name = stripTrailingSpaces(strToPlayerName(cleanstringemot(%name)));
if ( strlen( %name ) < 1 )
 %name = "*UNSPECIFIED*";
// Make sure the alias is unique, we'll hit something eventually
if (!isNameUnique(%client, %name)) {
 %isUnique = false;
 for (%suffix = 1; !%isUnique; %suffix++)  {
%nameTry = %name @ "." @ %suffix;
%isUnique = isNameUnique(%client, %nameTry);
 }
%name = %nameTry;
}
//Start Removing Clantags//
if(!%client.isadmin && !%client.issuperadmin) {
 while((strstr(%name,"[") => 0 && strstr(%name,"]") => 0)) {
if(strstr(%name,"[") => 0 && strstr(%name,"]") => 0)
 %name = strreplace(%name,getsubstr(%name,strstr(%name,"["),strstr(%name,"]")+1),"");
 }
 while((strstr(%name,"(") => 0 && strstr(%name,")") => 0)) {
if(strstr(%name,"(") => 0 && strstr(%name,")") => 0)
 %name = strreplace(%name,getsubstr(%name,strstr(%name,"("),strstr(%name,")")+1),"");
 }
}
// Tag the name with the "smurf" color:
%client.nameBase = %name;
%client.name = addTaggedString("\cp\c8" @ %name @ "\co");
}
Try that, but it doesn't cover clan tags using other then () and []

Argh@took so long, the quoted post would only be 1 post inbetween this and it
« Last Edit: February 06, 2007, 01:36:37 PM by -=>RR<=-MasterCE »

lol@ no GameConnection::setPlayerName in any file