I am trying to create a reporter for when the first transformation of one ant breed from one color to another color (violet) occurs, but I have no idea what code to use. My attempt (in a monitor) brings up the END expected error, which is incorrect, but it is probably just signalling some other code error.
to-report group-recruitment-initiation
let potential-recruiter followers with [color = violet]
if any? potential-recruiter
report ticks
end
Thanks!!