Public feed #890311

BadWords

public cpp v1 · immutable
Raw Edit
·published 2008-02-03 17:15 UTC
rendered paste body
/////////////////////////////BadWords Include/////BW////////////////////////////////Copyright by Rafelder//////////////////////////////stock DisableWord(const badword[], text[]){    	for(new i=0; i<256; i++) {	if (strfind(text[i], badword, true) == 0) {	for(new a=0; a<256; a++) {	if (a >= i && a < i+strlen(badword)) text[a]='*';	}	}	}}