1.1 --- a/plugins/include/console.inc Fri Aug 29 02:26:22 2008 +0000
1.2 +++ b/plugins/include/console.inc Tue Sep 02 03:58:34 2008 +0000
1.3 @@ -298,6 +298,8 @@
1.4 /**
1.5 * Creates a server-only console command, or hooks an already existing one.
1.6 *
1.7 + * Server commands are case sensitive.
1.8 + *
1.9 * @param cmd Name of the command to hook or create.
1.10 * @param callback A function to use as a callback for when the command is invoked.
1.11 * @param description Optional description to use for command creation.
1.12 @@ -320,6 +322,10 @@
1.13 /**
1.14 * Creates a console command, or hooks an already existing one.
1.15 *
1.16 + * Console commands are case sensitive. However, if the command already exists in the game,
1.17 + * the a client may enter the command in any case. SourceMod corrects for this automatically,
1.18 + * and you should only hook the "real" version of the command.
1.19 + *
1.20 * @param cmd Name of the command to hook or create.
1.21 * @param callback A function to use as a callback for when the command is invoked.
1.22 * @param description Optional description to use for command creation.
1.23 @@ -334,6 +340,8 @@
1.24 * it is created. When this command is invoked, the access rights of the player are
1.25 * automatically checked before allowing it to continue.
1.26 *
1.27 + * Admin commands are case sensitive from both the client and server.
1.28 + *
1.29 * @param cmd String containing command to register.
1.30 * @param callback A function to use as a callback for when the command is invoked.
1.31 * @param adminflags Administrative flags (bitstring) to use for permissions.