Plugins » History » Revision 19
Revision 18 (Per Amundsen, 02/22/2017 10:43 AM) → Revision 19/27 (Per Amundsen, 05/25/2017 09:09 PM)
h1. Plugins See [[Scripting DLL|here]] for native DLL support. See https://www.adiirc.com/docs/ for API Docs can also be downloaded as a Help file here https://www.adiirc.com/docs/Documentation.chm If you want an API for something not covered by the current API, please open an issue. You can find the current AdiIRCAPI.dll in your [[Config_Files|AdiIRC config folder]] or "here":https://www.adiirc.com/AdiIRCAPI.dll, this is the glue between AdiIRC and the plugin. Plugins can load and use any DLL's including referencing all .NET frameworks DLL's and do P/Invoke, just like a regular .NET program. If you get a "System.NotSupportedEception: An attempt was made to load an essembly from a network location" error, try unblock the dll file as shown here "here":https://blogs.msdn.microsoft.com/drew/2009/12/23/xunit-and-td-net-fixing-the-attempt-was-made-to-load-an-assembly-from-a-network-location-problem/ ----------------------------------------------------------------------------- _Added in 1.8_ */plugins [-luixo] [filename]* */plugins* With no switches, Opens or focuses Gives focus to the [[Plugins_Dialog|Plugin Manager dialog]]. *Switches* -l - Loads Plugin Manager, opens a installed plugin file. -u - Unloads a loaded plugin file. -i - Installs a new plugin to the plugin folder. -x - Uninstalls a installed plugin in the plugin folder. -o - Used with -i, allows overwriting a installed plugin, Plugin Manager if the plugin is not loaded. it's closed. *Parameters* [filename] - Filename/path of the plugin. *Example* <pre> ; Installs the plugin 'MyPlugin.dll' from the folder 'C:\User<\Nick\Desktop' to the Plugins folder. /plugins -i C:\User<\Nick\Desktop\MyPlugin.dll ; Loads 'MyPlugin.dll' /plugins -l MyPlugin.dll </pre> _See also [[Plugins Dialog]]._