AH ok, so the NN chalenge only allowed eye5 and refeye... didn't notice that, thought you where in doubt about what they did, my bad.
And the conspec you're using is more or less the same as what bacillus proposed in the conspec challenge topic.
Basicaly the only way I know of to fool in/out conspecs is parroting what the other person is saying, so if you reqire one input to be different from what you're saying then you prevent this. In the other input you could have a set key or a relation as the one you're using... both should work.
The only downside is spending 2 stores a cycle on sending the values.
You can also use .dnalen in .memloc and compare *.memval to *.dnalen, but then friends affected by viruses will turn hostile.
Spinner actualy uses only one output, and uses totalmyspecies and some different keys...
But looking at what you're doing then you could actualy put it all into one output and it would be a lot simpler than what spinner is soing :
(Warning, untested code, think it works though)
The output would be :
100 rnd dup 10 add 128 mult | .out10 store
And to check for friends :
*.in10 *.out10 !=
*.in10 127 & *.in10 16256 & 10 sub = and
Basicaly 2 values between 1 and 100 will fit in the space of 32000... so they can be crammed into one output saving a litle energy...
However having a foolproof conspec won't prevent you from looking back and forth between 2 friends... this has nothing to do with the conpec.
You see something in eye8, so you turn and find out it's a friend, but now you see something in eye9 so you turn and see another friend... but now you see the last guy you saw in eye1 so you turn back to find out what it is and find the first friend again, then you see friend nr 2 in eye9 again, asf asf...
Ofcourse if you have a lot of movement this shouldn't be a big problem, but it is definately a flaw you can find in most eye systems... if someone uses them in a slow moving bot or one that is static half the time it will spend a lot of time looking back and forth in endless loops. Hence all the blah blah blah about spimmer and it's eyes...