Defining parameters

Channel hooks can define parameters that the user can set to control its operation. There are two types of parameter:

 

Global parameters

Global parameters are defined in the .HOOK file like this:

[GlobalChannelHookParameterDefinition-1]
Name=...
Type=...
DefaultValue=...
Description=...

[GlobalChannelHookParameterDefinition-2]
Name=...
Type=...
DefaultValue=...
Description=...

etc...

The values that the user sets for these parameters will apply to all instances of the channel hook.

 

Instance parameters

Instance parameters are defined in the .HOOK file like this:

[ChannelHookParameterDefinition-1]
Name=...
Type=...
DefaultValue=...
Description=...

[ChannelHookParameterDefinition-2]
Name=...
Type=...
DefaultValue=...
Description=...

etc...

The user can set values for these parameters individually for each channel.

 

Read more about...