05.07.2011, 17:16
(
Last edited by ludesert; 06/07/2011 at 10:43 AM.
)
Hi everybody ! This is my first release. I called it BanKickName.
Why ?
It's just two commands : /kick and /ban from name/part of name, because I thought that kicking (or banning) from an ID is very slow and annoying.
Requirements
Sscanf plugin witch can be found here.
How ?
Before using this filterscript, you must edit your "server.cfg" file (witch is in the root directory of your server). At the "filterscripts" line, remove "base" and add "BanKickName", and save the file. Then, copy the BanKickName.amx file in the "filterscripts" directory (witch is in the root directory of your server).
WARNING :
hello- This will desactivate the "base" filterscript that contains the /kic, /ban and /pm from ID commands. To reactivate it, simply re-enter "base" in the "filterscripts" line, juse re-enter "base" and save the file.
hello- Don't use "base" and "BanKickName" filterscripts toguether, they are not compatible.
To use the commands, you must be logged as admin !
The commands must be used like that :
hello- /kick [playername/part of name] [reason]
=> This will kick the player and he will recieve 2 messages :
hellohello·"You were kicked from the server by [admin who kicked the player]".
hellohello·"Reason : [the reason that the admin entered]".
=> All players connected to the server will recieve two messages :
hellohello·"Player [player who was kicked] was kicked by [admin who banned]".
hellohello·"Reason: [the reason that the admin entered]".
hello- /ban [playername/part of name] [reason]
=> This will ban the player and he will recieve 2 messages :
hellohello·"You were banned from the server by [admin who bannedthe player]".
hellohello·"Reason : [the reason that the admin entered]".
=> All players connected to the server will recieve two messages :
hellohello·"Player [player who was banned] was banned by [admin who banned]".
hellohello·"Reason: [the reason that the admin entered]".
Downloads
You can download the compiled filterscript (.amx) here : http://www.mediafire.com/?rmzd0g51go4jnp4
And it's source (.pwn) here : http://www.mediafire.com/?j1c82ah0htzlmf8
PS: If there are any error or bugs in the filterscript, contact me