Help

CARET-SUBSTITUTION-EXAMPLE

For immortals

For behavior response messages on mobiles or objects, the mobile or object (self) may be substituted with ^2 notation (i.e. ^2n, ^2e, and so on...). For example, message response for SELF thanking ACTOR:

<all>^2n smile^2$ at ^n and say^2$ to ^m, 'Thanks ^p.'

If the SELF in this example is a mobile called a beggar and the ACTOR is the player, the player will see:

A beggar smiles at you and says to you, 'Thanks Palio.'

The other characters in the room will see:

A beggar smiles at Palio and says to her, 'Thanks Palio.'

The beggar itself will see:

You smile at Palio and say to her, 'Thanks Palio.'

Note how the ^2$ sets up the proper subject-verb agreement in the message. Clever caret-substition will allow for a single all statement instead of a char and room message, as in the above example.

If the SELF is an object, for example, a long sword wielded by Norman, you can use the bearer-syntax to display the name of the sword's bearer.

^2p does ^2s best to protect ^2bp.

Other people will see:

A long sword does its best to protect Norman.