OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llShout C# (CSharp) Method

llShout() public method

public llShout ( int channelID, string text ) : void
channelID int
text string
return void
        public void llShout(int channelID, string text)
        {
            m_host.AddScriptLPS(1);

            if (channelID == 0)
//                m_SayShoutCount++;
                CheckSayShoutTime();

            if (m_SayShoutCount >= 11)
                ScriptSleep(2000);

            if (text.Length > 1023)
                text = text.Substring(0, 1023);

            World.SimChat(Utils.StringToBytes(text),
                          ChatTypeEnum.Shout, channelID, m_host.ParentGroup.RootPart.AbsolutePosition, m_host.Name, m_host.UUID, true);

            IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>();
            if (wComm != null)
                wComm.DeliverMessage(ChatTypeEnum.Shout, channelID, m_host.Name, m_host.UUID, text);
        }
LSL_Api