https://creatures.wiki/CARR?action=history&feed=atom&CARR - Revision history2024-03-29T10:53:09ZRevision history for this page on the wikiMediaWiki 1.33.1https://creatures.wiki/index.php?title=CARR&diff=50459&oldid=prevAllekha: Created page with "'''CARR''' is a CAOS function that returns the agent currently holding the target. ==Usage== Syntax: ''CARR'' Returns the ID of the agent currently holding the target, o..."2016-10-14T14:42:40Z<p>Created page with "'''CARR''' is a <a href="/CAOS" title="CAOS">CAOS</a> function that returns the agent currently holding the target. ==Usage== Syntax: ''CARR'' Returns the ID of the agent currently holding the target, o..."</p>
<p><b>New page</b></p><div>'''CARR''' is a [[CAOS]] function that returns the agent currently holding the target.<br />
<br />
==Usage==<br />
Syntax: ''CARR''<br />
<br />
Returns the ID of the agent currently holding the target, or NULL if it is not being carried.<br />
<br />
==Example==<br />
It is often used to change behavior if an agent is being carried:<br />
<pre><br />
doif carr eq null<br />
**do stuff<br />
endi<br />
</pre><br />
or<br />
<pre><br />
doif carr ne null<br />
stop<br />
endi<br />
</pre><br />
<br />
It can also be used to affect a creature or another agent that is carrying the agent.<br />
<br />
[[Category:C3 CAOS Commands]]</div>Allekha