Check values in names
How can I detect names, which consist only of digits (0-9) ?
Examples: 890685114333 769008765445 881220806131 |
Re: Check values in names
|
Re: Check values in names
Quote:
|
Re: Check values in names
Ok, I need to ban fake players with names, which consist of digits. They keep flooding the server via proxies, so it's not possible to ban them all. The code below doesn't work. All players are kicked instead.
PHP Code:
|
Re: Check values in names
get_user_name( id , name , charsmax( name ) ) instead of read_argv
Also, remove the ! since you want to kick if all digits. |
Re: Check values in names
Yeah, works perfect! Thx again :D
|
| All times are GMT -4. The time now is 01:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.