scmJS docs

Command the Most

True when the player the trigger runs for has more units of the type than any other player.

Condition 6 · Command the Most(Unit);

Argument Takes Stored in the condition
Unit a unit type, or one of the unit classes bytes 12–13
Command the Most("Buildings");