Difference between revisions of "STRINGS"
Jump to navigation
Jump to search
(Created page with "The <nowiki>#</nowiki>STRINGS section of an area file defines strings for use in Area Special Functions. A #STRINGS section might look something like this: #STRINGS #1200...") |
|||
Line 5: | Line 5: | ||
#STRINGS | #STRINGS | ||
#1200 | #1200 | ||
<string shown to the target PC>~ | <string shown to the target PC> | ||
<string shown to everyone else in the room>~ | ~ | ||
<string shown to everyone else in the room> | |||
~ | |||
#0 | #0 | ||
Line 19: | Line 21: | ||
#STRINGS | #STRINGS | ||
#1200 | #1200 | ||
$N smiles as you.~ | $N smiles as you. | ||
$N smiles at $n.~ | ~ | ||
$N smiles at $n. | |||
~ | |||
#0 | #0 |
Revision as of 21:00, 13 February 2011
The #STRINGS section of an area file defines strings for use in Area Special Functions.
A #STRINGS section might look something like this:
#STRINGS #1200 <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 as you. ~ $N smiles at $n. ~ #0