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 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:
BooleanTrue/False depending if hooking the command was successful
See Also