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

SPCS

From Creatures Wiki
Jump to: navigation, search

SPCS is a CAOS function that returns the target's species

Usage[edit]

Syntax: SPCS

Returns the target's species.

Example[edit]

SPCS, along with FMLY and GNUS, can be used to write special exceptions in for certain agents (for example, the airlock will teleport out portals and the Hoverdoc and won't affect the Hand).

For creatures, 'species' represents sex (1 is male, 2 is female), so it can be used to only affect creatures of one sex. For example, to kill off all male creatures:

enum 4 0 1
	dead
next

See Also[edit]