Didn't find plugin for this, so made my own.
Simple plugin for deleting useless items in your bag automatically.
Usefull for grinding/boting and more.
Simple plugin for deleting useless items in your bag automatically.
Usefull for grinding/boting and more.
Code:
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace DefaultNameSpace{
public class DefaultClass : Core
{
public static string GetPluginAuthor()
{
return "Alfa4oK";
}
public static string GetPluginVersion()
{
return "0.1";
}
public static string GetPluginDescription()
{
return "DeleteCorpse";
}
//Call on plugin start
public void PluginRun()
{ while(true)
{ string item = "Полновесный мешочек с серебром"; // Put the item name you want to delete
Log("You have " + itemCount(item).ToString() + " items in the bag");
if (itemCount(item) >= 30) //set the maximum number of items in your bag
{Random random = new Random();
var kol = random.Next(5, 29); //set the limits of number items u want to delete. Plugin deletes the accidental number of items in these limits
DeleteItem(item, kol);
Log(DateTime.Now.ToShortTimeString() + " >Items deleted successfully");
Thread.Sleep(40000);
} else
{ Log("You have too little items to delete now.");
Thread.Sleep(40000);
}
}
}
//Call on plugin stop
public void PluginStop()
{ Log(DateTime.Now.ToShortTimeString() + " > Plugin stoped");
}
}
}
Last edited: