This is something I'd like to know for vulgar language kind of stuff.
If I were to do the below script and if someone said "You fuken stupid a$$!" would the player chatting say "Don't be mean"?
PHP Code:
//#CLIENTSIDE
function onCreated() this.vulgar = { "a$$","b1tch","fuk" };
function onPlayerChats() {
if (this.vulgar in player.chat) {
player.chat = "Don't be mean";
}
}
If not, how could I make it do so?
Note: I had to evade the curse filter for people to see this correctly, sorry.
