18.06.2009, 08:24
ok first trying to prevent from words being used, seeing how this is very small
and usefull script, but lately i been getting buggers using CAPS like GAY, FAG,etc
how can i make it detect any word with or with out CAPS...
thanks in advanced <3
[partial coding but yea- SendErrMsg is a custom message function so ignore this, since it works fine.]
and usefull script, but lately i been getting buggers using CAPS like GAY, FAG,etc
how can i make it detect any word with or with out CAPS...
thanks in advanced <3
[partial coding but yea- SendErrMsg is a custom message function so ignore this, since it works fine.]
Код:
{ // Advanced String of block#2 new gay = strfind(text,"gay"); new fag = strfind(text,"fag"); new jew = strfind(text,"jew"); if(gay != -1 || fag != -1 || jew != -1) { SendErrMsg(playerid," You cannot use that word, it is not allowed in this server."); return 0; } }