Refeye and Myeye

From WikiManual
Revision as of 21:10, 14 February 2014 by PhiNotPi (talk | contribs) (Fixed typos)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.