AddMultiTargetFilter Function

Adds a multi-target filter function for ProcessTargetString().

void AddMultiTargetFilter(const char[] pattern, MultiTargetFilter filter, const char[] phrase, bool phraseIsML)

Parameters

const char[] pattern

Pattern to match (case sensitive).

MultiTargetFilter filter

Filter function.

const char[] phrase

Descriptive phrase to display on successful match.

bool phraseIsML

True if phrase is multi-lingual, false otherwise.