Core Help Root: Subsystems: Messages: @msg


Syntax: `@msg|@message [-clear] [<target>:][<msg>=<value>]`

You can view and set messages with this command. When no message is given (and only the target is specified) it will list all messages on the target object. If no target is specified, the target will default to the current object. If a message and value is specified, it will set the value as appropriate. The value is be written in CML.

If the message is undefined on an object, it will default to the value given on the defining object. To revert a message back to the default value use the -clear option, such as:

@msg -clear teleport.actor

Some examples of setting and viewing messages:

> @msg
-- Messages on Brandon ($brandon):
teleport.actor = You teleport to [dest].
teleport.dest = [actor] teleports here from [source].
teleport.source = [actor] teleports to [dest].
> @msg north:invoke.actor=You walk up [exit].
-- Message changed to:
invoke.actor = You walk up [exit].


@def-msg | ColdC Interface | @msg | Message Propagation


the Cold Dark