aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
index 297a45c..8982bb6 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
@@ -16,6 +16,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
16 /// </summary> 16 /// </summary>
17 public class LSL_BuiltIn_Commands: MarshalByRefObject, LSL_BuiltIn_Commands_Interface 17 public class LSL_BuiltIn_Commands: MarshalByRefObject, LSL_BuiltIn_Commands_Interface
18 { 18 {
19
19 private System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); 20 private System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
20 private ScriptManager m_manager; 21 private ScriptManager m_manager;
21 private IScriptHost m_host; 22 private IScriptHost m_host;
@@ -74,7 +75,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
74 public void llWhisper(int channelID, string text) 75 public void llWhisper(int channelID, string text)
75 { 76 {
76 //Common.SendToDebug("INTERNAL FUNCTION llWhisper(" + channelID + ", \"" + text + "\");"); 77 //Common.SendToDebug("INTERNAL FUNCTION llWhisper(" + channelID + ", \"" + text + "\");");
77 Console.WriteLine("llWhisper Channel " + channelID + ", Text: \"" + text + "\""); 78 //Console.WriteLine("llWhisper Channel " + channelID + ", Text: \"" + text + "\"");
78 //type for whisper is 0 79 //type for whisper is 0
79 World.SimChat(Helpers.StringToField(text), 80 World.SimChat(Helpers.StringToField(text),
80 0, m_host.AbsolutePosition, m_host.Name, m_host.UUID); 81 0, m_host.AbsolutePosition, m_host.Name, m_host.UUID);
@@ -86,7 +87,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
86 { 87 {
87 //TODO: DO SOMETHING USEFUL HERE 88 //TODO: DO SOMETHING USEFUL HERE
88 //Common.SendToDebug("INTERNAL FUNCTION llSay(" + (int)channelID + ", \"" + (string)text + "\");"); 89 //Common.SendToDebug("INTERNAL FUNCTION llSay(" + (int)channelID + ", \"" + (string)text + "\");");
89 Console.WriteLine("llSay Channel " + channelID + ", Text: \"" + text + "\""); 90 //Console.WriteLine("llSay Channel " + channelID + ", Text: \"" + text + "\"");
90 //type for say is 1 91 //type for say is 1
91 92
92 World.SimChat(Helpers.StringToField(text), 93 World.SimChat(Helpers.StringToField(text),
@@ -95,7 +96,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
95 96
96 public void llShout(int channelID, string text) 97 public void llShout(int channelID, string text)
97 { 98 {
98 Console.WriteLine("llShout Channel " + channelID + ", Text: \"" + text + "\""); 99 //Console.WriteLine("llShout Channel " + channelID + ", Text: \"" + text + "\"");
99 //type for shout is 2 100 //type for shout is 2
100 World.SimChat(Helpers.StringToField(text), 101 World.SimChat(Helpers.StringToField(text),
101 2, m_host.AbsolutePosition, m_host.Name, m_host.UUID); 102 2, m_host.AbsolutePosition, m_host.Name, m_host.UUID);