Executing Musca commands can optionally trigger a hook command. This can be useful for chaining Musca commands together or firing off scripts on certain events. For example, set default new group padding by hooking into the add command:
hook on ^add pad 0 0 0 26
Or, attach to multiple commands:
hook on ^(add|use) pad 0 0 0 26
For now, only Musca commands trigger hooks. In the future this may be extended to add hooks to X events.