TTAR

TTAR is a CAOS command which randomly chooses an agent of a particular classifier which is being touched by the current agent (ETCH) and sets TARG to that agent. 0 can be used as a wildcard.

Usage
Syntax: TTAR family(int) class(int) species(int)

Example
ttar 2 3 0 doif targ ne null mesg writ targ 12 targ ownr setv ov10 1 endi