Halo all,
Before i'm very sorry for my bad english, I'm From Indonesia , and i have problem with script ,
Okay to the point, I have a Chat script, and i want to filtering the badword , like this
if string.find ( msg, "rabbit" ) then --disallow links
outputChatBox ( "Do not Using Badword In This Server!!", playersource, 255, 0, 0 )
return
end
It just can filter 1 word, So my question is , how can i filtering the word from .txt or .xml files , example
i make a badwords database , named badwords.txt or badwords.xml . Like this
It just example
How to write the code to catch or get badwords from badwords.txt
Thank you Guys, I'm really appreciate it