document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. Imports Core.Core \'Import the core to be able to implement the Plugin interface (add the reference to Core.dll)
  2.  
  3. Public Class YourPluginName
  4.     Implements XBplgn \'Add this line, press enter and most of below will be be entered for you (Visual Studios)
  5.  
  6.     Private UI As New Global.YourPluginName.UI \'UI object (a user control object)
  7.  
  8.     \'Have this method EXACTLY as shown here
  9.     Public Sub loadUI(ByRef LoadToPanel As Windows.Forms.Panel) Implements XBplgn.loadUI
  10.         LoadToPanel.Controls.Add(UI.Controls(0))
  11.     End Sub
  12.  
  13.     Public ReadOnly Property Name As String Implements XBplgn.Name
  14.         Get
  15.             Return "" \'Inside the quotes Enter the name of the Plugin
  16.         End Get
  17.     End Property
  18.  
  19.     Public Sub ProcessCommand(Command As String) Implements XBplgn.ProcessCommand
  20.         \'Put command logic here. Commands are instructions separate from the irc messages
  21.     End Sub
  22.  
  23.     Public Sub ProcessMessage(Message As Message) Implements XBplgn.ProcessMessage
  24.         \'Put Message logic here. Messages are the direct result from parsing the irc messages
  25.     End Sub
  26.  
  27.     Public Function Request(Info() As Object) As Object() Implements XBplgn.Request
  28.         Return {} \'This is for other components to retrieve information from this plugin
  29.     End Function
  30.  
  31.     \'Have this method EXACTLY as shown here
  32.     Public Sub unLoadUI(ByRef unLoadFromPanel As Windows.Forms.Panel) Implements XBplgn.unLoadUI
  33.         UI.Controls.Add(unLoadFromPanel)
  34.     End Sub
  35. End Class
');