SecondBot/Core/Commands/Self/logout.cs
2020-10-14 04:53:31 +01:00

35 lines
1.1 KiB
C#

using OpenMetaverse;
namespace BSB.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)
{
bot.GetClient.Self.Chat("Lates im out", 0, ChatType.Normal);
bot.KillMePlease();
return true;
}
}
}