SecondBot/Core/Commands/Info/ParcelName.cs
2021-02-14 02:19:38 +00:00

16 lines
552 B
C#

namespace BSB.Commands.Info
{
public class ParcelName : ParcelCommand_CheckParcel_1arg_smart
{
public override string Helpfile { get { return "Fetchs the current parcels name and sends it to the smart reply target on [ARG 1]"; } }
public override bool CallFunction(string[] args)
{
if (base.CallFunction(args) == true)
{
return bot.GetCommandsInterface.SmartCommandReply(true,args[0], targetparcel.Name, CommandName);
}
return false;
}
}
}