Here, I made the plugin in less than three minutes... just so you can see how easy it is.
Code:
using System;
using System.Collections.Generic;
using System.Text;
using Advanced_Combat_Tracker;
namespace ACT_Plugin
{
public class ParseForActEnd : IActPluginV1
{
public void InitPlugin(System.Windows.Forms.TabPage pluginScreenSpace, System.Windows.Forms.Label pluginStatusText)
{
ActGlobals.oFormActMain.OnLogLineRead += oFormActMain_OnLogLineRead;
}
void oFormActMain_OnLogLineRead(bool isImport, LogLineEventArgs logInfo)
{
if(logInfo.logLine.Contains("act end"))
ActGlobals.oFormActMain.ActCommands("end");
}
public void DeInitPlugin()
{
ActGlobals.oFormActMain.OnLogLineRead -= oFormActMain_OnLogLineRead;
}
}
}
Most of the typing was actually done by Visual Studio Express and Intellisense auto-completing.