Home
About
Policies
FAQ
Forums
Registration
Password Recovery

&cmd

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
m (&cmd: too many brackets)
m (Categorized)
 
Line 1: Line 1:
 +
[[Category:functions (MPI)]][[Category:Variable Handling Functions (MPI)]]
 +
==&cmd==
==&cmd==

Latest revision as of 10:43, 20 August 2010


&cmd

You can use {&arg} and {&cmd} in MPI to reference the command and the argument that triggered the MPI. The {&cmd} variable references the first word of a whatever command triggered the MPI.

For example:

{null:{tell:***{name:me} looked at {&cmd} {&arg},{owner:this}}}

The above string of MPI could be placed in your description, various cinfo fields, the descriptions of things in _details, so on and so forth, and always print out So-and-So looked at whatever-command-they-ran.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox