Quote:
Originally Posted by fysiks
Well, all you just did was implement a very small subset of Regex. I highly doubt that this has fewer false positives than a properly formatted RegEx pattern. I'd like to see an efficiency comparison between this and RegEx because have quite a few native calls there for every single letter typed in chat.
Color chat does not work in all games so either remove color chat or change the the plugin to Counter-Strike only.
|
Yes, removing
Color Chat would be a great idea.
I think a
Bypass flag is not needed.
Instead of:
You may check the length:
PHP Code:
if( strlen( szText ) < 4 )
Change
Changelog to [ code ], [ quote ] or even [ spoiler ] + [ code ] tag.
Good job!
And the greatest question is: there is no possibility to do that using RegEx?
Quote:
Originally Posted by Neeeeeeeeeel.-
|
It means an enumeration of bytes.
A byte may be checked with "
&" operator.
__________________