You have a few errors here.
gene4 is the cause of the bot tying to his own species.
'gen4
cond
*.eye5 50 >
*.numties 0 =
*.multi 0 =
*refeye 0 =
start
20 .tie store
stop
cond
You are missing a dot between the * and the refeye.
In other words this line says 0 0 = which is always true. It is going to fire a tie at anything it sees as long as it doesn't have one already.
You also have an extra "cond" at the end. This may cause problems.
Gene6
'gen6
cond
*.numties 0 >
*.trefnrg 4000 >
*885 2 mod 0 =
start
-1 .tieloc store
-1000 .tieval store
20 .tienum store
cond
First the trefnrg won't work. It will require a command line "20 readtie store" in a prior gene in order to function. It doesn't know which tie to read otherwise.
You are ending the gene with a "cond" instead of a "stop"
Make these changes and try again