15 lines
549 B
C#
15 lines
549 B
C#
namespace BSB.Commands.Info
|
|
{
|
|
public class GetPosition : CoreCommand_SmartReply_1arg
|
|
{
|
|
public override string Helpfile { get { return "Requests the Position and sends that via the smart reply target"; } }
|
|
public override bool CallFunction(string[] args)
|
|
{
|
|
if (base.CallFunction(args) == true)
|
|
{
|
|
return bot.GetCommandsInterface.SmartCommandReply(args[0], bot.GetClient.Self.RelativePosition.ToString(), CommandName);
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
}
|