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
)
Function HookCommand (
Plugin As IPlugin,
Command As String,
HelpSyntax As String,
Description As String
) As Boolean
bool HookCommand(
IPlugin^ Plugin,
String^ Command,
String^ HelpSyntax,
String^ Description
)
abstract HookCommand :
Plugin : IPlugin *
Command : string *
HelpSyntax : string *
Description : string -> bool
Parameters
- Plugin
- Type: AdiIRCAPIIPlugin
IPlugin - Command
- Type: SystemString
String - HelpSyntax
- Type: SystemString
String - Description
- Type: SystemString
String
Return Value
Type:
BooleanTrue/False depending if hooking the command was successful
See Also