diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 8ef33d7..9d228fa 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -2487,7 +2487,19 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2487 | 2487 | ||
2488 | public void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel) | 2488 | public void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel) |
2489 | { | 2489 | { |
2490 | NotImplemented("llDialog"); | 2490 | LLUUID av = new LLUUID(); |
2491 | if (!LLUUID.TryParse(avatar,out av)) | ||
2492 | { | ||
2493 | LSLError("First parameter to llDialog needs to be a key"); | ||
2494 | return; | ||
2495 | } | ||
2496 | string[] buts = new string[buttons.Length]; | ||
2497 | for(int i = 0; i < buttons.Length; i++) | ||
2498 | { | ||
2499 | buts[i] = buttons.Data[i].ToString(); | ||
2500 | } | ||
2501 | World.SendDialogToUser(av, m_host.Name, m_host.UUID, m_host.OwnerID, message, new LLUUID("00000000-0000-2222-3333-100000001000"), chat_channel, buts); | ||
2502 | //NotImplemented("llDialog"); | ||
2491 | } | 2503 | } |
2492 | 2504 | ||
2493 | public void llVolumeDetect(int detect) | 2505 | public void llVolumeDetect(int detect) |