Jump to content

Pause 5 seconds after herb gathering


Arguss

Recommended Posts

Hello, use this plugin:

using System.Threading;
using System.Windows.Forms;
using robotManager.Helpful;
using wManager.Wow.ObjectManager;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        wManager.Events.FarmingEvents.OnFarmSuccessful += delegate(WoWGameObject node) { Thread.Sleep(5000); };
        Logging.Write("[PauseAfterGathering] Loadded.");
    }

    public void Dispose()
    {
        Logging.Write("[PauseAfterGathering] Disposed.");
    }

    public void Settings()
    {
        MessageBox.Show("[PauseAfterGathering] No settings for this plugin.");
    }
}

PauseAfterGathering.cs

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...