find 

$find(search string[,display format[, delimiter]])

The find function will find players currently in the server matching the search string. It will generate a comma seperated list. Each item will be formatted to the display format if there is one specified, otherwise it will just be the player's name. The search string is an expression, just like if () expressions. If will be evaluated for each player as the primary player, and the current primary player as the secondary. If a delimiter is specified, it will use this to seperate the items matched, instead of the default ", " (comma space). It will also prevent the find function from reporting "No Match" or "Everyone".

Examples:
cmd /say_stat Blue Medics: $find(($streq($(pt),blue) & $streq($(pclass),Medic)) cmd /say_stat Regulars: $find(minutesplayed>3000) cmd /say_stat $(pt) Medics(location): $find($streq($(pt),$(st)) & $streq($(pclass),Medic)),$(pn)($location($(pz))))