Jump to content

ignore macros?


Recommended Posts

     // off before quest
        wManager.wManagerSetting.CurrentSetting.MyMacro1.Actif = false;
        wManager.wManagerSetting.CurrentSetting.MyMacro2.Actif = false;
        wManager.wManagerSetting.CurrentSetting.MyMacro3.Actif = false; //4 5 6 etc

 

        //on after quest
        wManager.wManagerSetting.CurrentSetting.MyMacro1.Actif = true;
        wManager.wManagerSetting.CurrentSetting.MyMacro2.Actif = true;
        wManager.wManagerSetting.CurrentSetting.MyMacro3.Actif = true; //4 5 6 etc

Use Runcode before and after quest, where u need off macros. Shoud work

Link to post
Share on other sites

instead of using macros with turn off, turn on (your gonna get some errors no matter what,) use this template for make your own plugin

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

public class Main : IPlugin
{
    bool Launched;
	int timer = 1000;
	string PluginName = "[Plugin]: ";

    public void Initialize()
    {
        Launched = true;
		while (Launched && Products.IsStarted)
		{
			try
			{
				if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
				{
					
					if (!ObjectManager.Me.InCombat && !ObjectManager.Me.IsDead)
					{
						Lua.RunMacroText("Code here");

					}
					
				}
			}
			catch (Exception e)
			{
				Logging.WriteError(PluginName + "there was an error: " + e);
			}
			Thread.Sleep(timer);
		}
	}

    public void Dispose()
    {
        Launched = false;
    }

    public void Settings()
    {
		MessageBox.Show(PluginName + "There are no settings.");
    }
}

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...