Author Topic: Popup explaining name changing in V9  (Read 3441 times)

I've been helping people change their name from Blockhead# for awhile, and wouldn't it be easier just to have a little popup telling them how to change their name once they authenticate?

Yes, I see so many Blockheads these days.

Welcome to Blockland!
Please input Name here:
<Text Box>
<Ok>

There's already a "Name" button at the bottom of the main menu.

There's already a "Name" button at the bottom of the main menu.
He's asking for a popup menu telling them how to change their name.

Yeah I overlooked the Name thing when I first Signed up (ID 1650). I just thought you changed it When you make your Avatar lol.

A window that you cannot close in tell you put a name in, that way there will not be so many "ninjas"

And ban overused names. Including

ninja and masterchief or any other iconic game figure.
So many loving douchebag wannabes running around "lulz i r ninja/master chef/otherforgeter"

And ban overused names. Including

ninja and masterchief or any other iconic game figure.
So many pandaing douchebag wannabes running around "lulz i r ninja/master chef/otherpandaer"
Like it has been said before " It was there 20 dollars they can have there name what they want it to be "

And ban overused names. Including

ninja and masterchief or any other iconic game figure.
So many pandaing douchebag wannabes running around "lulz i r ninja/master chef/otherpandaer"
Script something that auto-kicks people that have one of those names, lol.

Code: [Select]
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);


And ban overused names. Including

ninja and masterchief or any other iconic game figure.
So many pandaing douchebag wannabes running around "lulz i r ninja/master chef/otherpandaer"
Like it has been said before " It was there 20 dollars they can have there name what they want it to be "
I know that they have the right to make it whatever, it just gets so loving annoying when everyone is running around dressed up as a game character that IS COPYRIGHTED.

Code: [Select]
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);
How do I add names?

Quote
package IDontLikeYourName
{
   function GameConnection::OnClientEnterGame(%client)
   {
      %name = %client.name;
      if(isThisAStupidName(%name))
      {
         schedule(50,0,"LeaveBCYourNameSucks",%client);
      }
   }

   function isThisAStupidName(%name)
   {
      %file = new FileObject();
      %file.openForRead("Add-Ons/SuckyNames.txt");

      while(!%file.isEOF())
      {
         %line = %file.readLine();

         if(strStr(strLwr(%name), %line) > -1)
         {
            %file.close();
            %file.delete();
            return true;
         }
      }

      %file.close();
      %file.delete();
      return false;
   }

   function LeaveBCYourNameSucks(%client)
   {
      if(isObject(%client))
      {
         messageAll('', '\c6%1\c3 has been auto-kicked.', %client.name);
         %client.delete();
      }
   }
};
activatePackage(IDontLikeYourName);

Create a text file called SuckyNames in your Add-Ons folder and type in name phrases you want auto-kicked, one per line.

e.g.
Quote
halo
master chief
spartan

I haven't tested though because I'm on a school computer.
« Last Edit: December 06, 2007, 12:53:24 AM by SolarFlare »