SecondBot/Core/Commands/Self/logout.cs
Madpeter 74f5cdaf90 new command: Bye
like Logout but without the kickass message
2020-05-15 23:22:45 +01:00

24 lines
709 B
C#

using OpenMetaverse;
namespace BSB.Commands.Self
{
public class Bye : Logout
{
public override string Helpfile { get { return "Makes the bot kill itself you monster"; } }
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;
}
}
}