rendered paste bodyusing System;
using System.Collections.Generic;
using System.Text;
using Meebey.SmartIrc4net;
namespace ITSBOT
{
enum CommandType
{
MSG = 2,
PM = 4,
ACTION = 8
}
/// <summary>
/// Base for all commands
/// </summary>
abstract class Command
{
CommandType type;
int level;
/// <summary>
/// Constructor
/// </summary>
Command() { }
/// <summary>
/// Run, called when the command is used
/// </summary>
/// <param name="client">The client</param>
/// <param name="args">Arguments</param>
public void Run(IrcClient client, IrcEventArgs args) { }
/// <summary>
/// The description
/// </summary>
public string Description {
get
{
return "";
}
}
/// <summary>
/// The name
/// </summary>
public string Name {
get
{
return "";
}
}
public string GetHelp(string arg) { return ""; }
}
}