Refeye and Myeye

From WikiManual
Jump to: navigation, search

A very popular form of conspec recognition that uses the sysvars .refeye and .myeye

Example:

cond
*.eye5 50 >
*.refeye *.myeye !=
start
-1 .shoot store
stop

Will cause a bot to attack anything in range which does not have the same number of eye commands in its DNA

This method of conspec recognition is very secure, since there is no way of altering the number of eyes in your DNA on command. The only way to fool this method of conspec recognition is to alter a bot's .myeye using info shots or viruses.