Turtle and Observer Command

who-min-of-frogs-with [condition] [list of commands]

Returns a list with the who number of the turtle of breed frogs which satifies the [condition] and has the least value of [list of commands] along with the smallest value of [list of commands].

Note: When a turtle calls the command, it is not included as part of the calculation.

Examples:

who-min-of-frogs-with [color = red] [energy] returns a list with the who number of the red frog with the least energy and the smallest energy value: [2 5].

Related commands: