echo

echo <target> <string>

Send a line of text to a target. The target may be a single creature, a room, or every player in the owner's zone.

Arguments

Returns

null. Like the other action commands, a successful echo in the handle phase suppresses the event's default action.

Examples

after command (say) {
  echo $actor "A cold draft raises the hair on your neck."
}

The actor — and only the actor — sees the line.

after command (laugh) {
  echo "room" "The walls themselves seem to laugh with $actor."
}

Everyone in the owner's room sees this, with $actor replaced by the actor's name.

See also