This function sends a text string to everyone except the character(s) passed as arguments to the function. The text string may contain special control codes that represent the names (or referring pronouns) of the character(s) and object passed as arguments to the function. These control codes 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 control codes:
Code | Grammatical form | Entity |
$n | name | actor |
$e | he, she, it, they | actor |
$s | his, her, its, their | actor |
$m | him, her, it, them | actor |
$N | name | victim |
$E | he, she, it, they | victim |
$S | his, her, its, their | victim |
$M | him, her, it, them | victim |
$p | name | object |
Say that I wanted to make a badly designed doorstep that everybody was tripping over. I might use the function
msg_everyone_else( %a, '$n stubs $s toe on $p.', %o )
If this proc was on an object called "the doorstep" and Kjartan triggered this message, everybody in that room except Kjartan would see
Kjartan stubs his toe on the doorstep.
However, if the same message got triggered by Veta, everybody in the room except Veta would see
Veta stubs her toe on the doorstep.