CS 1.6 Ban Name Plugin Modification
1 Attachment(s)
Hi All,
Hope you are well. The Ban Name plugin allows you to ban nicks that you do not want the server to enter. You type the nicks that you want to block in the names_banned.ini file. I am asking you for help, the plugin can not detect if there is a gap (space) in nick. I added kingplayer text to the names_banned.ini file and tested it worked. But it didn't work with king player nick. For example: Plugin detects this nick: kingplayer Plugin cannot detect this nick: king player Would you please help me with this? You can find the plugin in this link and in the attachment zip file. Code:
#include <amxmodx> |
Re: CS 1.6 Ban Name Plugin Modification
Search for "Restrict Names"
|
Re: CS 1.6 Ban Name Plugin Modification
Quote:
|
Re: CS 1.6 Ban Name Plugin Modification
Quote:
in cvar you can put like restnames_default_name "Nick Not Allowed" in restrictnames.ini whatevernick "change your nick" 0 secondnick "change your nick" 0 that means that whoever has those nicks, will receive a msg "change your nick" and it will be changed to "Nick Not Allowed" you can set everything as you desire, can't be hard to understand |
Re: CS 1.6 Ban Name Plugin Modification
Quote:
For example i have a blacklist and could you please show me how can i add these? I couldnt understand regex logic. Please update .ini file and reupload with these nicks. No Name ^ . ^ Hades Underwold ; CS Ccash ! Ccomedy [Anti]'Biyotik And i have a question can plugin detect nicks with spaces (gap) between them like above? |
Re: CS 1.6 Ban Name Plugin Modification
Quote:
"No Name ^ . ^" "change your nick" 0 "Hades Underwold ; CS" "change your nick" 0 "Ccash ! Ccomedy" "change your nick" 0 [Anti]'Biyotik "change your nick" 0 can't be easier than that! |
Re: CS 1.6 Ban Name Plugin Modification
Quote:
I am asking you for help, the plugin can not detect if there is a gap (space) in nick. I added kingplayer text to the names_banned.ini file and tested it worked. But it didn't work with king player nick. For example: Plugin detects this nick: kingplayer Plugin cannot detect this nick: king player Would you please help me with this? |
Re: CS 1.6 Ban Name Plugin Modification
[Use "king player"
Put double quotes! |
Re: CS 1.6 Ban Name Plugin Modification
Quote:
|
Re: CS 1.6 Ban Name Plugin Modification
Just remove trim from the script
|
All times are GMT -4. The time now is 19:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.