Home
About
Policies
FAQ
Forums
Registration
Password Recovery

@mpi

From Tapestries MUCK

Jump to: navigation, search

The @mpi command is useful for testing bits of MPI without having to implement them on something. If can be particularly useful for quickly testing syntax and making sure all yours :'s ,'s and {}'s are in place. To use the command, simply type:
@mpi {some MPI}

The muck will attempt to interpret your MPI string at this point, and return the results or an error.

Setting Targets

A lot of MPI doesn't specify where something is and assumes this, me, or here. The result of this is needing to specify a location when using @mpi for testing. The same sort of issue occurs if your code is using {&cmd} or {&arg}. Examples of this are:

@mpi {prop:someprop,me}
@mpi {lcommon:{mklist:{name:me}},{list:AuthorizedUsers,here}}
@mpi {store:somevalue,someprop,#1234} «- #1234 is a dbref

The individual MPI Functions do a good job of explaining which you can set a target with.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox