Jump to content

Recommended Posts

prontera,117,78,0	script	restricted_manner	-1,{
OnInit:
	setarray .@bad_word$,"tangina","[email protected]@","[email protected]@","tanga","[email protected]@","[email protected]","bobo","bob0";
	set .@size_b, getarraysize( .@bad_word$ );
	for( ; .@i < .@size_b; set .@i, .@i+1 )
		defpattern 1, "([^:]+):.*\\s"+ .@bad_word$[.@i] +".$", "warning";
	activatepset 1;
	end;
warning:
	set @warning, @warning+1;
	if ( @warning == 3 ) {
		set @warning, 0;
		deltimer strnpcinfo(0) +"::OnDelay";
		atcommand "@mute 5 "+ strcharinfo(0);
	}
	else {
		deltimer strnpcinfo(0) +"::OnDelay";
		addtimer 300000, strnpcinfo(0) +"::OnDelay";
		message strcharinfo(0), "Be careful with your language... Warning "+ @warning +"/3";
	}
	end;
OnDelay:
	set @warning, 3;
	end;
}

ang problema po kapang remove ung npc by -          script    restricted_manner    -1,{

hindi po gumana ung script kapang tinangal mo na ung > prontera,117,78,0

 

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.