See the paper at http://conferences.oreillynet.com/presentations/os2001/tcl/mmc-OS2001.pdf for references to the ''trigger'' command.