scmJS docs

Least Resources

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

Condition 20 · Least Resources(Resource);

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