public void botSendChatMessage(string bot, string message, int sayType) { IBotManager manager = World.RequestModuleInterface <IBotManager> (); if (manager != null) { manager.SendChatMessage(UUID.Parse(bot), message, sayType); } }
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); } }
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 }