aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs
index 5010a34..12d996a 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs
@@ -215,6 +215,17 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
215 set { throw new System.NotImplementedException(); } 215 set { throw new System.NotImplementedException(); }
216 } 216 }
217 217
218 #region Public Functions
219
220 public void Say(string msg)
221 {
222 SceneObjectPart sop = GetSOP();
223
224 m_rootScene.SimChat(msg, ChatTypeEnum.Say, sop.AbsolutePosition, sop.Name, sop.UUID, false);
225 }
226
227 #endregion
228
218 229
219 #region Supporting Functions 230 #region Supporting Functions
220 231