I am new to NetLogo, so if my question reads like a novice...that's why.
I am using the neigbhors4 command to identify the four neighbors of an aggressor agent. I then want to select from the four neighbors based on their color and a priority ranking (Black, Brown and White). If the neighbor's color is black (priority #1), the next set of instructions would be applied to that agent. If none of the neighbors are black, the next color in the priority ranking (brown) would receive the instruction.
Would this be best achieved using some type of list?