A variation of the save command can be used to pipe the message to a command. For example
s | command