Contains (MPI)
From Tapestries MUCK
(Difference between revisions)
Line 1: | Line 1: | ||
- | [[Category: | + | [[Category:functions (MPI)]][[Category:Database Related Functions (MPI)]] |
=contains= | =contains= | ||
<mpi>{contains:obj1} | <mpi>{contains:obj1} |
Latest revision as of 01:37, 31 March 2007
contains
{contains:obj1} {contains:obj1,obj2}
Returns true if obj1 is within obj2, or within anything it contains, or within anything they contain. If obj2 is not given, then it checks to see is obj1 is held by the player, or by anything they hold, etc.
Basically, this just sees if obj1 is within the locational environment of obj2.