Code-x Private Server
HomeHome  PortalPortal  SearchSearch  RegisterRegister  Log inLog in  


 how to stop the swearing

Go down 
Evil Mage
Evil Mage

Number of posts : 432
Age : 28
Registration date : 2008-05-08

how to stop the swearing Empty
PostSubject: how to stop the swearing   how to stop the swearing Icon_minitimeThu Jul 03, 2008 5:25 am

[QUOTE=James;277458]Purpose: To make you censor system work by censoring the words whilst they are typed!

Difficulty: -3


Step One:

In find:

public final void method73(int i)

Under the { add:

   for(int james = 0; james < badWords.length; james++) {
   String bad = badWords[james];
   aString887 = aString887.replaceAll(badWords[james], "***");

Now declare the following:

public String badWords[] = {"word1", "word2", "word3"};

Add in your own bad words. I cannot post them here because they will be blocked lol. If you have a brain then you can make the words load from the tinternet :d

Back to top Go down
how to stop the swearing
Back to top 
Page 1 of 1
 Similar topics
» Stop Animal Abuse Club
» Tip or Wake, that's The question
» Stop cyberbullying
» Why Don't We Stop The Pretense
» Stop, Block, and Tell Move

Permissions in this forum:You cannot reply to topics in this forum
Code-x :: General Chat :: runescape private [TUT] section-
Jump to: