Click or drag to resize

IPluginHostHookCommand Method

Hook a command into AdiIRC, the handler will be triggered when the command is used.

Namespace:  AdiIRCAPIv2.Interfaces
Assembly:  AdiIRCAPIv2 (in AdiIRCAPIv2.dll) Version: 2.0.1.7 (2.0.1.7)
Syntax
C#
bool HookCommand(
	string command,
	RegisteredCommand handler
)

Parameters

command
Type: SystemString
Name of the command
handler
Type: AdiIRCAPIv2.DelegatesRegisteredCommand
Handler that triggers when the command is used

Return Value

Type: Boolean
True/False depending if hooking the command was successful
See Also