Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Listprops (MPI)

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
m (Corrected link(s) with new MPI naming scheme.)
 
(One intermediate revision not shown)
Line 1: Line 1:
-
[[Category:MPI functions]][[Category:MPI Property Handling]]
+
[[Category:functions (MPI)]][[Category:Property Handling (MPI)]]
=listprops=
=listprops=
<mpi>{listprops:propdir}
<mpi>{listprops:propdir}
Line 8: Line 8:
If not given, object defaults to the trigger object. If a pattern is given, the sub-properties in the propdir are each compared against the smatch wildcard pattern, and only those that match are returned in the list. This comparison is only done on the last part of the property name after the last /.
If not given, object defaults to the trigger object. If a pattern is given, the sub-properties in the propdir are each compared against the smatch wildcard pattern, and only those that match are returned in the list. This comparison is only done on the last part of the property name after the last /.
-
Also refer to [[MPI propdir|PROPDIR]] and [[MPI smatch|SMATCH]].
+
Also refer to [[Propdir (MPI)|PROPDIR]] and [[Smatch (MPI)|SMATCH]].

Latest revision as of 04:50, 31 March 2007

listprops

{listprops:propdir}
{listprops:propdir,object}
{listprops:propdir,object,pattern}

This function will return a list that contains the full names of all the sub-properties contained by the given propdir.

If not given, object defaults to the trigger object. If a pattern is given, the sub-properties in the propdir are each compared against the smatch wildcard pattern, and only those that match are returned in the list. This comparison is only done on the last part of the property name after the last /.

Also refer to PROPDIR and SMATCH.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox