Jump to content

Recommended Posts


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.02
  • Content Count:  148
  • Reputation:   0
  • Joined:  03/06/15
  • Last Seen:  

prontera,117,78,0	script	restricted_manner	-1,{
OnInit:
	setarray .@bad_word$,"tangina","t@ngin@","t@ng1ng@","tanga","t@ng@","t@nga","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

  • 3 years later...

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

On mo ung manner files mo sa grf mas easy way un.  Pero kung gusto mo ma fix to check mo ung tabing mo sa line 1

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