partner
Description:
Returns the who number of the turtle being grabbed, or nobody if no turtle is being grabbed.
Examples:
grab one-of-turtles-here
[if (color-of partner) = red [die]]
These statements will cause a turtle to partner with another turtle on the same spot and die if that partner is red.
Notes:
Must be used inside of a grab statement.
Related Commands:
grab
grabbed?
partners