SecondBot/Core/RLV/InstantMessages/sendim_sec.cs
2021-02-14 02:19:38 +00:00

18 lines
No EOL
484 B
C#

using OpenMetaverse;
using System;
using System.Collections.Generic;
using System.Text;
namespace BSB.RLV.InstantMessages
{
public class SendIm_Sec : RLV_command_1arg
{
public override bool CallFunction(string[] args)
{
if (args[0] == "y") { bot.SetLock("sendim_lock", false); }
else if (args[0] == "n") { bot.SetLock("sendim_lock", true); }
else { return Failed("y/n only"); }
return true;
}
}
}