Quote:
Originally Posted by Mitchell
Lets just hope people wont use this on their 5000+ bans server.
Never really got the regex part, why not just use StrContains on the huge buffer?
plus, you should do listid on mapstart or plugin start, and store the ban ids in a ADT array, or something like that, then hook:
├OnBanClient
├OnBanIdentity
├OnRemoveBan
to add/remove from that array.
|
I kind of know that, when I coded this.
Think it will be better just hook server_addban and server_removeban, that should do the job. Was also thinking about ADT array.
Maybe I get confused by what asherkin said..
About why not StrContains, think it could be useful is people want to print out banned ids.. Think I should just have published the parser.. Hmm..
Will rewrite it later today, I hope..