Welcome to the Creatures Wiki! Log in and join the community.
Difference between revisions of "TARG"
Jump to navigation
Jump to search
m (must be more careful :P) |
|||
Line 1: | Line 1: | ||
− | '''TARG''' is | + | '''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 | + | 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 CAOS commands: | |
− | |||
− | '''TARG''' is | ||
==Usage== | ==Usage== | ||
Line 15: | Line 13: | ||
This returns the target as an agent. | This returns the target as an agent. | ||
− | |||
==See also== | ==See also== | ||
− | |||
* [[RTAR]] sets TARG randomly. | * [[RTAR]] sets TARG randomly. | ||
* [[ENUM]] sets TARG sequentially. | * [[ENUM]] sets TARG sequentially. |
Revision as of 12:02, 7 January 2006
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 CAOS commands:
Usage
Syntax: TARG target (agent)
This sets the target of the current script.
Syntax: TARG
This returns the target as an agent.
See also
This stub could use more information. |