Observer Command

ask-frogs-with [condition] [list of commands]

This observer command asks all frogs satisfying[condition] to run [list of commands].

Examples:
ask-frogs-with [color = red] [fd 1] tells all red frogs to move forward one step.

Related commands:
ask-patches-with ask-turtles-with