// BitchSlapCommand.cs created with MonoDevelop
// User: damien at 13:49 28/09/2007
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//
using System;
using Roboter.Common;
namespace Roboter.Plugins.Base
{
public class OpCommand : ICommand
{
public string Command
{
get { return "op"; }
}
public string Name
{
get { return "Op"; }
}
public bool Watcher
{
get { return false; }
}
public void Process(string line)
{
string user = "";
user = Helper.GetParameters(line);
string sender = Helper.GetNick(line);
if (user != "damoxc")
IrcClient.PrivateMessage("Sorry you have to be a Channel Operator to use this Command!");
}
public void ProcessWatch(string line)
{
}
public string GetHelp()
{
return string.Empty;
}
}
}