SecondBot/Core/Commands/Movement/AutoPilotStop.cs
2020-04-30 04:31:07 +01:00

17 lines
427 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
namespace BSB.Commands.Movement
{
public class AutoPilotStop : CoreCommand
{
public override string Helpfile { get { return "Stops any current AutoPilot"; } }
public override bool CallFunction(string[] args)
{
bot.GetClient.Self.AutoPilotCancel();
return true;
}
}
}