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.