scmJS docs

Most Resources

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

Condition 10 · Most Resources(Resource);

Argument Takes Stored in the condition
Resource ore, gas, or ore and gas byte 16
Most Resources(ore and gas);