Jump to content
  • 0

Request Script That Can Block Rude Words


Checkmate

Question


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Olaaaa...
Did anyone here have some script or anything that can block our player nor staff from being rude in talking and saying bad word?..? /ok  /ok

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 1

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

+1 to this tread anyone? for addtional info can mute players 5mins but it will msg you warnings and if you still doing it 3times will mute you 5mins.

 

prontera,150,180,5	script	restricted_manner	-1,{
OnInit:
	setarray .@bad_word$, "noob", "coward"; // add as your content lol
	.@size_b = getarraysize( .@bad_word$ );
	for( ; .@i < .@size_b; .@i++ )
		defpattern 1, "([^:]+):.*\\s"+ .@bad_word$[.@i] +".$", "warning";
	activatepset 1;
	end;
warning:
	@warning++;
	if ( @warning == 3 ) {
		@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:
	@warning = 0;
	end;
}

But it works only in the range of the hidden npc.

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

in your data folder manner.txt add more words if you want :D

 

 

SlashGeeGee

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   4
  • Joined:  04/26/12
  • Last Seen:  

can some 1 please share this script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

+1 to this tread anyone? for addtional info can mute players 5mins but it will msg you warnings and if you still doing it 3times will mute you 5mins.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

let me try this one xD

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

this topic are unable to solve perfectly using just npc script...

it should be done through source mode since you are not going to use the manner.txt

 

anyway

i think this would be a good choice for you

http://www.eathena.ws/board/index.php?showtopic=138710

 

but dunno if it's still working in rAthena or not.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Owh... I will try implement all of you saying.. Thanks again all. ^ ^
You all are the best ^ ^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

SlashGeeGee

I already put a new word in manner.txt and i do compile it...

But when in game im trying to say F**K and nothing happen... Why?..?

Did i need to enable something or do something more?..?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

i think something on the hex

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   7
  • Joined:  09/13/12
  • Last Seen:  

can sm 1 temme where can we find the manner.txt file?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

can sm 1 temme where can we find the manner.txt file?

inside data folder / grf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

hex... hurmmm....
How can we change that?

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

×
×
  • Create New...