SecondBot/Core/RLV/Sitting/unsit.cs
2020-04-23 18:19:18 +01:00

22 lines
557 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace BSB.RLV.Sitting
{
public class UnSit : RLV_command_1arg
{
public override bool CallFunction(string[] args)
{
if (args[0] == "force")
{
return bot.GetCommandsInterface.Call("stand", "");
}
else if ((args[0] == "y") || (args[0] == "n"))
{
return SetFlag(args[0], "set");
}
return Failed("Magic keyword force missing.");
}
}
}