SecondBot/Core/Commands/Notecard/notecardClear.cs
2020-04-29 20:23:52 +01:00

24 lines
696 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
namespace BSB.Commands.Notecard
{
class NotecardClear : CoreCommand_1arg
{
public override string[] ArgTypes { get { return new[] { "Text" }; } }
public override string[] ArgHints { get { return new[] { "Collection" }; } }
public override string Helpfile { get { return "Clears Collection [ARG 1]"; } }
public override bool CallFunction(string[] args)
{
if (base.CallFunction(args) == true)
{
bot.ClearNotecardStorage(args[0]);
return true;
}
return false;
}
}
}