23 lines
613 B
C#
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;
|
|
}
|
|
}
|
|
}
|