STRINGS

From The Final Challenge Wiki
Revision as of 19:50, 4 February 2015 by Gwyrdain (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The #STRINGS section of an area file defines strings for use in Area Special Functions.

A #STRINGS section might look something like this:

#STRINGS
#<vnum>
<string shown to the target PC>
~
<string shown to everyone else in the room>
~

#0

Limited string substitution may work, depending on the special function. Testing required.

$n - PC name $N - Mob name

Example:

#STRINGS
#1200
$N smiles at you.
~
$N smiles at $n.
~

#0