SecondBot/Core/RLV/Movement/setrot.cs
2021-02-14 17:47:49 +00:00

23 lines
613 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
namespace BetterSecondBot.RLV.Movement
{
public class SetRot : RLV_command_2arg
{
public override bool CallFunction(string[] args)
{
if (base.CallFunction(args) == true)
{
if (args[1] == "force")
{
return bot.GetCommandsInterface.Call("rotateto", args[0], UUID.Zero);
}
return Failed("magic word force is required [dont ask me]");
}
return false;
}
}
}