Turtle and Observer Command

who-max-of-frogs [list of commands]

Returns a list with the who number of the turtle of breed frogs corresponding to the highest value of [list of commands] along with the highest value of [list of commands].

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

Examples:

who-max-of-frogs [energy] returns a list with the who number of the frog with the most energy and the highest energy value: [2 5].

Related commands: