Channel hooks are invoked in exactly the same way as plugins. Awasu generates a Windows INI file that contains information about the event and the path to this file is passed to the channel hook as its single command-line parameter.
Awasu will invoke a channel hook for two reasons:
[Config] Command = ProcessEvent EventName = ...
[Config] Command = ProcessCommand CommandName = ...
Global parameter values can be retrieved (by parameter name) from the [GlobalChannelHookParameters] section, instance parameter values from [ChannelHookParameters].