FANDOM


TARG is a concept used by CAOS. Each running script has its own target variable, which represents the agent on which most CAOS commands act.

The target agent in agent scripts defaults to the agent in question (ie, OWNR), while there is no default target agent in install or removal scripts (ie, it is NULL).

The TARG variable is accessed or modified via the following:

Usage

Command

Syntax: TARG target (agent)

This sets the target of the current script.

Function

Syntax: TARG

This returns the target as an agent.

Editnorn This article about a CAOS command or function needs further examples.

See also

  • RTAR sets TARG randomly.
  • ENUM sets TARG sequentially.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.