Jump to content
  • 0

ban IGN with gm


Question

Posted

I have tried this script and its pretty working,

 

But my problem is, even my own ADMIN ACCOUNT will be jailed if i log in.

Can you help me that this script will take effect only on those normal accounts? not on gm accounts.

ban_gm_name.txt

3 answers to this question

Recommended Posts

Posted

try this.

-	script	ban_gm_name	-1,{
OnPCLoginEvent:
if(getgmlevel() >=99) end;
.@name$ = strcharinfo(0);
if( compare( .@name$,"GM " ) || compare( .@name$,"Admin " ) ){
	mes "You will be jailed for using 'GM'/'Admin' within your name";
	sleep2 3500;
	atcommand "@jail "+.@name$;
	globalmes .@name$+" has been jailed for having 'GM'/'Admin' in their name.";
}
end;
}
Posted
- if( compare( .@name$,"GM " ) || compare( .@name$,"Admin " ) ){
+ if( !getgmlevel() && ( compare( .@name$,"GM " ) || compare( .@name$,"Admin " ) ) ) {

Lemme try this sir,

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...