stock replaceSwear(string[], badWord[], replace = '*'){ new i ; while((i = strfind(string, badWord, true)) != -1) { for(new x = (i + strlen(badWord)); i != x; ++i) { string[i] = replace; } } return 1;}