15.11.2014, 18:18
pawn Код:
if(strfind(text,"Bruce",true) != -1) return 1; else { if(strfind(text,"Lee",true) != -1) return 1; else return 0; }
Could instead be
pawn Код:
if(strfind(text, "Bruce", true) != -1 || strfind(text, "Lee", true) != -1) return 1;
You should just look for the full word instead of sections of the name.