FANDOM


OWNR is a CAOS command.

Usage

Syntax: OWNR

Returns, as an agent, the owner of the script, i.e. the agent in whose VM the script is being run. For creature scripts this is the creature they belong to, for agent scripts it is the agent running them. For scripts injected via the net interface or the CAOS command, and for install scripts, it is NULL.

Example

Some commands change the TARG. The imaginary agent below uses several NEW: SIMP commands to spread some trapper seeds, and then displays an animation.

...as part of a script...
  REPS 3
    NEW: SIMP 2 3 12 "trapper" 13 53 6000
    MVTO POSX POSY
    VELO RAND -10 10 RAND 0 -10
  REPE
  TARG OWNR
  ANIM [1 2 3]
...etc.
Editnorn This article about a CAOS command or function needs further examples.

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.