Foundation
Your plugin must implement the following functions and properties:
Functions
Configure() - No parameters
The function is called when the user clicks "Configure" on your plugin in MessengerDiscovery Settings.
Delete() - No parameters
The function is called when the deletes your plugin. Usually you would put clean up routines here.
Initialize(Main, Events)
The function is called when the plugin is loaded. This function provides Main and Events objects. You must store these objects withevents (e.g Private WithEvents MDEvents As MessengerDiscovery_2.Events).
ParseCommand(Command, Params, Connection) Boolean
The function is called when a !command is used. Return True if you accept the Command (String), False if not. Command is the command with the "!".
Params (String) provides a the parameters used with the command.
Connection (WLMConnection) provides a WLMConnection object for the connection that the command was used on. See the documentation on the WLMConnection class for more information.
Properties
Author (String)
Return a string value of the author of the plugin.
Name (String)
Return a string value of the name of the plugin.
Icon (System.Drawing.Icon)
Return an icon for the icon of your plugin. If you wish to use the default icon return nothing.