Vote for Our Mud on TMC!











help > actions > message format
--------------
Message format
--------------

One note, each of these can be capitalized whenever appropriate, just use
a capital letter, like a $N, instead of $n.  Proper names will always be
capitalized when displayed, however.

$N - A subject of a verb.  Defaults to the name of the doer of the action.
The doer himself will see 'You', while everyone else will see their name.
If you want to use someone else here as a subject, supply a number after,
like $N1 would let the target (or the first person in the target list of a
complex action), be treated as the subject of a verb.  Note that $N0 is the
same as $N here.  There's one more option you can pass here, but it will
help to explain how these functions decide when to use pronouns.  Whenever
an action is done, a list is made up of all the objects involved: the doer
and the target(s), if any.  The first time one of these is referenced in a
message, their full name is displayed, but any time after that, a pronoun
(he, she, it), is used in place.  You can modify this default behavior if
you want by adding an extra flag after the $N.  First of all, you can have
$Nf.  This will (f)orce a pronoun to be used, instead of a proper noun.
You can also use $Ns.  This will (s)upress a pronoun from being used, and
use the proper name instead (except the doer of the verb will still see
'you').  Finally, you can use $NS.  This will (S)upress pronoun use for
everyone, including the subject himself.  Everyone involved will see the
doer's full name used.

$V - A verb.  Like $N, you can place a number after the $V if you want to
change who in the list is actually performing the verb's action.  Then,
put the verb, in 2nd person, directly after the $V.  It's important to make
sure you're using the second person here, because of the way the verb gets
conjugated.  For example, "$N $vlook around." is correct, while
"$N $vlooks around." is not.

$T - The object of a verb.  Again, like $N, you can specify a number after
to specify which is the actual object.  Unlike everything else, however,
the number after $T defaults to 1 if you don't specify.  This is because
for most uses, $T can be used as the 'target'.  $T can also take a second
number, which tells who was the subject of this particular action.  This
can be very useful for complex messages with multiple verbs/subjects/objects.
For example, a room message of "Megaboz watches as Silence kicks Wildcat.",
with Megaboz as the main doer, and Silence next in the list, with Wildcat
last, the message here would be "$N $vwatch as $n1 $v1kick $t21."
Now, there's 2 parts of the message: "Megaboz watches", and
"Silence kicks Wildcat".  The first part is the same as was discussed
before, and the second part has a new subject (silence), a new verb (kick),
and a new object of the verb (wildcat).  So, "...$n1 $v1kick $t21", has
$n1, which means that Silence is the new subject.  $v1kick has Silence as
the subject of that verb.  And finally, $t21: the 2 means that the second
person in the list (wildcat) is the object of the verb, and the 1 means
that the first person in the list (silence) is the doer of this verb.  If
you had only used $t2, then it would have incorrectly thought that Megaboz
was the subject of that.  Finally, you can also specify an optional pronoun
flag after $T, exactly the same as for $N.

$P - Possessive form.  This is used just like $N, except that possessive
is assumed.  You can add an optional number or pronoun flag just like with
$N.  For example, "$N $vraise $p hand.", would give "Megaboz raises his
hand."

$R - Reflexive form.  This is very similar to $P, except that no prnoun flag
is needed here, as the only thing that applies here is to display the prnoun
to everyone.  The reflexive form is himself, herself, yourself, etc.  Note
that there's 2 ways to acheive this:  "$N $vkick $r" and "$N $vkick $t0"
would both generate "Megaboz kicks himself."