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

SETS

From Creatures Wiki
Jump to: navigation, search

SETS is a CAOS command used to set a variable to a string value.

Usage[edit]

Syntax: SETS var (variable) str (string)

Sets var to str. str can be any variable containing a string, any function that returns a string, or a string literal. Any previous value of var will be overwritten.

Examples[edit]

Setting a variable from a string literal, and from another variable:

SETS VA00 "Strings use backslash+n for newlines.\nSee?"
SETS VA01 VA00

See also[edit]

  • SETV and SETA for numeric values and agents

External links[edit]