Hello,
 
	Try with this plugin Main.cs :
 
using System.Threading;
using wManager.Wow.Class;
using wManager.Wow.Enums;
using wManager.Wow.Helpers;
public class Main : wManager.Plugin.IPlugin
{
    const int SpellId = 46457;
    const int NpcId = 50041;
    
    public void Initialize()
    {
        robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>
        {
            if (state is wManager.Wow.Bot.States.ToTown)
            {
                MovementManager.StopMove();
                new Spell(SpellId).Launch(true);
                Thread.Sleep(5000);
                var npc = new Npc
                {
                    ContinentId = (ContinentId)Usefuls.ContinentId,
                    Name = "Field Repair Bot 75B",
                    Entry = NpcId,
                    Position = wManager.Wow.ObjectManager.ObjectManager.Me.Position,
                    Type = Npc.NpcType.Repair,
                    Faction = Npc.FactionType.Neutral
                };
                
                NpcDB.ListNpc.RemoveAll(n => n.Active && n.Entry == npc.Entry && n.Type == npc.Type && n.ContinentId == npc.ContinentId && n.CurrentProfileNpc);
                
                NpcDB.AddNpc(npc, false, true);
            }
        };
    }
    public void Dispose()
    {
    }
    public void Settings()
    {
    }
}