Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "FMLY"

From Creatures Wiki
Jump to navigation Jump to search
(Created page with "'''FMLY''' is a CAOS command that returns the family of the target. ==Usage== Syntax: ''FMLY'' Returns the target's family. ==Example== FMLY is used by the DS locki...")
 
 
Line 10: Line 10:
 
<pre>
 
<pre>
 
doif fmly eq 4
 
doif fmly eq 4
* if its a norn
+
* if its a norn
doif gnus eq 1
+
doif gnus eq 1
targ ownr
+
targ ownr
* check your lock status
+
* check your lock status
 
(code to check locks for each species, let creatures through, etc continues from here)
 
(code to check locks for each species, let creatures through, etc continues from here)
 
</pre>
 
</pre>

Latest revision as of 14:58, 14 October 2016

FMLY is a CAOS command that returns the family of the target.

Usage[edit]

Syntax: FMLY

Returns the target's family.

Example[edit]

FMLY is used by the DS locking doors to check if a creature is allowed through when one pushes it:

doif fmly eq 4
*	if its a norn
	doif gnus eq 1
		targ ownr
*	check your lock status
(code to check locks for each species, let creatures through, etc continues from here)

See Also[edit]