Turtle and Observer Command

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

Returns a list with the who number of the turtle 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-turtles [energy] returns a list with the who number of the turtle with the most energy and the highest energy value: [2 5].

Related commands: