Beispiel #1
0
        public void botSendIM(string bot, string user, string message)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.Moderate, "botSendIM", m_host, "bot", m_itemID))
            {
                return;
            }
            IBotManager manager = World.RequestModuleInterface <IBotManager>();

            if (manager != null)
            {
                manager.SendIM(UUID.Parse(bot), UUID.Parse(user), message, m_host.OwnerID);
            }
        }