to go3 E, d5 b/ I8 g6 l
ask turtles [if any? patches with [pcolor = red and not any? turltes-here]8 N6 t: E& f& l% a
# x( W1 w1 J: F4 m5 P% g[move-to one-of patches with [pcolor = red and not any? turtles-here]] - P& L! y8 a3 U' |5 d; N) E[move-to one-of patches with [pcolor = blue and not any? turtles-here]]8 Z; \9 u- j2 P. q+ ^
end