Click or drag to resize

IPluginHostHookCommand Method

Use this to add /commands, you can then suscribe to OnCommand to get data from this command

Namespace:  AdiIRCAPI
Assembly:  AdiIRCAPI (in AdiIRCAPI.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
bool HookCommand(
	IPlugin Plugin,
	string Command,
	string HelpSyntax,
	string Description
)

Parameters

Plugin
Type: AdiIRCAPIIPlugin
IPlugin
Command
Type: SystemString
String
HelpSyntax
Type: SystemString
String
Description
Type: SystemString
String

Return Value

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