Example #1
0
 public override PluginResponse OnEnable(IBotSettings botSettings)
 {
     if (!botSettings.loadInventory)
     {
         return(new PluginResponse(false, "'Load inventory' must be enabled."));
     }
     FormOpener.ShowForm();
     return(new PluginResponse(true));
 }
Example #2
0
 public override void OnDisable()
 {
     FormOpener.CloseForm();
 }