msg_room

Settable:
no
Arguments:
(1) room, string
(2) room, string, character
(3) room, string, object
(4) room, string, character, object
Return Value:
none

This function sends a text string to everybody in a room, with the exception of any character passed as an argument to the function. The text can be just a plain string:

   msg_room(room(%a),'A rockslide tumbles down around you!')

or can be more complicated, including the names of other characters and/or objects. Certain sequences of characters have special meanings inside the string. These sequences start with $. In the table below, "actor" means the first character argument, "victim" means the second character argument if present, and "object" means the object argument if present. Here are the special sequences:

Special Control Codes
CodeGrammatical form Entity
$nnameactor
$ehe, she, it, theyactor
$shis, her, its, theiractor
$mhim, her, it, themactor
$Nnamevictim
$Ehe, she, it, theyvictim
$Shis, her, its, theirvictim
$Mhim, her, it, themvictim
$pnameobject