plugins/include/console.inc
changeset 2841 dde3dd0b4b8b
parent 2806 686c283b08fc
child 3048 6a60e2409f04
     1.1 --- a/plugins/include/console.inc	Wed Oct 28 00:31:48 2009 -0700
     1.2 +++ b/plugins/include/console.inc	Wed Oct 28 00:37:34 2009 -0700
     1.3 @@ -858,6 +858,8 @@
     1.4   */
     1.5  functag public Action:CommandListener(client, const String:command[], argc);
     1.6  
     1.7 +#define FEATURECAP_COMMANDLISTENER  "command listener"
     1.8 +
     1.9  /**
    1.10   * Adds a callback that will fire when a command is sent to the server.
    1.11   *
    1.12 @@ -866,6 +868,9 @@
    1.13   * Using Reg*Cmd to intercept is in poor practice, as it physically creates a
    1.14   * new command and can slow down dispatch in general.
    1.15   *
    1.16 + * To see if this feature is available, use FeatureType_Capability and 
    1.17 + * FEATURECAP_COMMANDLISTENER.
    1.18 + *
    1.19   * @param callback      Callback.
    1.20   * @param command		Command, or if not specified, a global listener.
    1.21   *                      The command is case insensitive.