silently
silently <string>
Run a command as the owner mobile, with its output suppressed.
Behaves exactly like do — the owner executes the command line,
splitting on newlines — except that the text the command would normally
print is discarded. Use it to perform an action without spamming the room.
Arguments
<string>— the command line to run, just as fordo. Build it with interpolation; embed a newline to run more than one command.
Returns
null. Like the other action commands, a
successful silently in the handle phase suppresses the event's default
action.
Owner
The owner must be a mobile. Called from an object or room script,
silently does nothing.
Examples
after command (say) {
silently "say nobody hears this"
}
The mob runs the say command, but its usual output is suppressed. The
script compiles and runs to completion.
handle command (examine) {
silently "look $actor"
}
The owner looks at the actor without the room seeing the look message.
See also
do— run a command as the owner with its normal output.force— make another creature run a command.- Strings and interpolation · Handlers, events, and phases