Пример #1
0
        public void botSendChatMessage(string bot, string message, int sayType)
        {
            IBotManager manager = World.RequestModuleInterface <IBotManager> ();

            if (manager != null)
            {
                manager.SendChatMessage(UUID.Parse(bot), message, sayType);
            }
        }
Пример #2
0
        public void botSendChatMessage(string bot, string message, int channel, int sayType)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.Moderate, "botSendChatMessage", m_host, "bot", m_itemID))
            {
                return;
            }
            IBotManager manager = World.RequestModuleInterface <IBotManager>();

            if (manager != null)
            {
                manager.SendChatMessage(UUID.Parse(bot), message, sayType, channel, m_host.OwnerID);
            }
        }
Пример #3
0
        public void botSendChatMessage(string bot, string message, int sayType)
        {
            IBotManager manager = World.RequestModuleInterface <IBotManager> ();

            if (manager != null)
            {
                manager.SendChatMessage(UUID.Parse(bot), message, sayType);
            }


            //        Whisper = 0,
            //Say = 1,
            //Shout = 2,
            //ObsoleteSay = 3, // 3 is an obsolete version of Say
            //StartTyping = 4,
            //StopTyping = 5,
            //DebugChannel = 6,
            //Region = 7,
            //Owner = 8,
            //Custom = 10,
            //SayTo = 11,
            //Broadcast = 0xFF
        }