Jump to content

escarillex

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by escarillex

  1. so I have this script for unauthorized names that log in,

    -	script	UnauthorizedName	-1,{
        OnPCLoginEvent:
    		if (!getgmlevel())
    		{
    			if(compare(strcharinfo(0),"GM") || compare(strcharinfo(0), "Admin"))
    			{
    				mes "^ff0000[ System ]^000000";
    				mes "Illegal character name Detected.";
    				mes "Character will be deleted";
    				query_sql "DELETE FROM `char` WHERE `name` = '"+strcharinfo(0)+"'";
    				sleep2 3000;
    				atcommand "@kick " +strcharinfo(0);
    			}
    		}
            end;
    }
    

     

    What I want to know is, How do I block Character creations that uses unauthorized names?

    Is it even possible ?

     

     

     

    /thx  in advance 

×
×
  • Create New...