SecondBot/Core/Commands/Self/logout.cs

34 lines
1,000 B
C#

using OpenMetaverse;
namespace BetterSecondBot.Commands.Self
{
public class Bye : Logout
{
public override string Helpfile { get { return "Makes the bot kill itself you monster, without saying anything"; } }
public override bool CallFunction(string[] args)
{
bot.KillMePlease();
return true;
}
}
public class Logout : CoreCommand
{
public override string Helpfile { get { return "Makes the bot kill itself you monster"; } }
public override bool CallFunction(string[] args)
{
bot.GetClient.Self.Chat("I dont want to go :( ", 0, ChatType.Normal);
bot.KillMePlease();
return true;
}
}
public class Logoff : CoreCommand
{
public override string Helpfile { get { return "Makes the bot kill itself you monster"; } }
public override bool CallFunction(string[] args)
{
return true;
}
}
}