msglock

This modifies and queries a message object's locks.

msglock ?-nodestroy? ?-nowrite? msgId

Each flag specifies a lock to set on the message in the interpreter. After set, you cannot remove a lock.

This command returns a list describing the message's lock-state after the new locks, if any, are applied.

The list contains zero or more of these elements:

  • nodestroy: Message cannot be destroyed.
  • nowrite: Message cannot be modified.