| Symbol | Description |
|---|---|
| MultiTargetFilter | Adds clients to a multi-target filter. |
| Symbol | Description |
|---|---|
| COMMAND_FILTER_ALIVE | Only allow alive players |
| COMMAND_FILTER_CONNECTED | Allow players not fully in-game |
| COMMAND_FILTER_DEAD | Only filter dead players |
| COMMAND_FILTER_NO_BOTS | Do not allow bots to be targetted |
| COMMAND_FILTER_NO_IMMUNITY | Ignore immunity rules |
| COMMAND_FILTER_NO_MULTI | Do not allow multiple target patterns |
| COMMAND_TARGET_AMBIGUOUS | Partial name had too many targets |
| COMMAND_TARGET_EMPTY_FILTER | A multi-filter (such as @all) had no targets |
| COMMAND_TARGET_IMMUNE | Single client is immune |
| COMMAND_TARGET_NONE | No target was found |
| COMMAND_TARGET_NOT_ALIVE | Single client is not alive |
| COMMAND_TARGET_NOT_DEAD | Single client is not dead |
| COMMAND_TARGET_NOT_HUMAN | Target was not human |
| COMMAND_TARGET_NOT_IN_GAME | Single client is not in game |
| FEATURECAP_MULTITARGETFILTER_CLIENTPARAM | |
| MAX_TARGET_LENGTH |
| Symbol | Description |
|---|---|
| AddMultiTargetFilter | Adds a multi-target filter function for ProcessTargetString(). |
| ProcessTargetString | Processes a generic command target string, and resolves it to a list of clients or one client, based on filtering rules and a pattern. Note that you should use LoadTranslations("common.phrases") in OnPluginStart(), as that file is guaranteed to contain all of the translatable phrases that ProcessTargetString() will return. |
| RemoveMultiTargetFilter | Removes a multi-target filter function from ProcessTargetString(). |
| ReplyToTargetError | Replies to a client with a given message describing a targetting failure reason. Note: The translation phrases are found in common.phrases.txt. |