diff --git a/BuildersBuddy-Opensim/BuildersBuddy-Opensim/Base/Builders+Buddy+Base+(opensim).lsl b/BuildersBuddy-Opensim/BuildersBuddy-Opensim/Base/Builders+Buddy+Base+(opensim).lsl index e429915d..9d356bf3 100644 --- a/BuildersBuddy-Opensim/BuildersBuddy-Opensim/Base/Builders+Buddy+Base+(opensim).lsl +++ b/BuildersBuddy-Opensim/BuildersBuddy-Opensim/Base/Builders+Buddy+Base+(opensim).lsl @@ -1,12 +1,7 @@ -// :SHOW: // :CATEGORY:Building -// :NAME:BuildersBuddy-Opensim +// :NAME:Builders Buddy for Opensim // :AUTHOR:Newfie Pendragon // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:23:36 -// :EDITED:2019-03-18 22:23:36 -// :ID:1113 -// :NUM:1916 // :REV:2 // :WORLD:Opensim // :DESCRIPTION: @@ -479,4 +474,4 @@ state reset_listeners { state default; } -} +} \ No newline at end of file diff --git a/BuildersBuddy-Opensim/BuildersBuddy-Opensim/Base/Readme.txt b/BuildersBuddy-Opensim/BuildersBuddy-Opensim/Base/Readme.txt index bb4da731..0ae777f3 100644 --- a/BuildersBuddy-Opensim/BuildersBuddy-Opensim/Base/Readme.txt +++ b/BuildersBuddy-Opensim/BuildersBuddy-Opensim/Base/Readme.txt @@ -1,12 +1,7 @@ -// :SHOW: // :CATEGORY:Building -// :NAME:BuildersBuddy-Opensim +// :NAME:Builders Buddy for Opensim // :AUTHOR:Newfie Pendragon // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:23:37 -// :EDITED:2019-03-18 22:23:37 -// :ID:1113 -// :NUM:1917 // :REV:2 // :WORLD:Opensim // :DESCRIPTION: diff --git a/BuildersBuddy-Opensim/BuildersBuddy-Opensim/SomeObject/Builders+Buddy+Component+with+NC+(VAR).lsl b/BuildersBuddy-Opensim/BuildersBuddy-Opensim/SomeObject/Builders+Buddy+Component+with+NC+(VAR).lsl index ae86afb3..52685922 100644 --- a/BuildersBuddy-Opensim/BuildersBuddy-Opensim/SomeObject/Builders+Buddy+Component+with+NC+(VAR).lsl +++ b/BuildersBuddy-Opensim/BuildersBuddy-Opensim/SomeObject/Builders+Buddy+Component+with+NC+(VAR).lsl @@ -1,12 +1,7 @@ -// :SHOW: // :CATEGORY:Building -// :NAME:BuildersBuddy-Opensim +// :NAME:Builders Buddy for Opensim // :AUTHOR:Newfie Pendragon // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:23:37 -// :EDITED:2019-03-18 22:23:37 -// :ID:1113 -// :NUM:1918 // :REV:2 // :WORLD:Opensim // :DESCRIPTION: @@ -405,4 +400,4 @@ state reset_listeners { state default; } -} +} \ No newline at end of file diff --git a/Dance Hud/Dance Hud/Object/Back Button Script.lsl b/Dance Hud/Dance Hud/Object/Back Button Script.lsl index 478a38dc..4b8855e9 100644 --- a/Dance Hud/Dance Hud/Object/Back Button Script.lsl +++ b/Dance Hud/Dance Hud/Object/Back Button Script.lsl @@ -1,17 +1,3 @@ -// :SHOW: -// :CATEGORY:Animation HUD Previous Button -// :NAME:Dance Hud -// :AUTHOR:Anonymous -// :KEYWORDS: -// :CREATED:2019-03-21 14:41:56 -// :EDITED:2019-03-21 13:41:56 -// :ID:1117 -// :NUM:1961 -// :REV:1 -// :WORLD:Second Life -// :DESCRIPTION: -// Animation HUD Previous Button -// :CODE: default { touch_start(integer total_number) diff --git a/Dance Hud/Dance Hud/Object/Next Button Script.lsl b/Dance Hud/Dance Hud/Object/Next Button Script.lsl index 17f282e3..07d635e1 100644 --- a/Dance Hud/Dance Hud/Object/Next Button Script.lsl +++ b/Dance Hud/Dance Hud/Object/Next Button Script.lsl @@ -1,17 +1,3 @@ -// :SHOW: -// :CATEGORY:Animation -// :NAME:Dance Hud -// :AUTHOR:Anonymous -// :KEYWORDS: -// :CREATED:2019-03-21 14:41:23 -// :EDITED:2019-03-21 13:41:23 -// :ID:1117 -// :NUM:1960 -// :REV:1 -// :WORLD:Second Life -// :DESCRIPTION: -// Animation HUD Next button -// :CODE: default { @@ -19,4 +5,4 @@ default { llMessageLinked(LINK_ROOT, 0, "dnext", NULL_KEY); } -} +} \ No newline at end of file diff --git a/Dance Hud/Dance Hud/Object/Root Prim Script.lsl b/Dance Hud/Dance Hud/Object/Root Prim Script.lsl index c3992f08..4ee9e6a3 100644 --- a/Dance Hud/Dance Hud/Object/Root Prim Script.lsl +++ b/Dance Hud/Dance Hud/Object/Root Prim Script.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Animation // :NAME:Dance Hud // :AUTHOR:unknown -// :KEYWORDS: -// :CREATED:2019-03-21 14:40:38 -// :EDITED:2019-03-21 13:40:38 -// :ID:1117 -// :NUM:1959 // :REV:1.0 // :WORLD:Second Life, Opensim // :DESCRIPTION: diff --git a/Dance Hud/Dance Hud/Object/Stop Button Script.lsl b/Dance Hud/Dance Hud/Object/Stop Button Script.lsl index 1955bbf4..a6a75e44 100644 --- a/Dance Hud/Dance Hud/Object/Stop Button Script.lsl +++ b/Dance Hud/Dance Hud/Object/Stop Button Script.lsl @@ -1,17 +1,3 @@ -// :SHOW: -// :CATEGORY:Animation -// :NAME:Dance Hud -// :AUTHOR:Anonymous -// :KEYWORDS: -// :CREATED:2019-03-21 14:42:14 -// :EDITED:2019-03-21 13:42:14 -// :ID:1117 -// :NUM:1962 -// :REV:1 -// :WORLD:Second Life -// :DESCRIPTION: -// DESCRIPTION: []::Animation HUD Root Prim -// :CODE: integer active = FALSE; default diff --git a/Flashing Light/Flashing Light/Object1/Flash.lsl b/Flashing Light/Flashing Light/Object1/Flash.lsl index 49c2aeab..5694289e 100644 --- a/Flashing Light/Flashing Light/Object1/Flash.lsl +++ b/Flashing Light/Flashing Light/Object1/Flash.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Lights -// :NAME:Flashing Light +// :NAME:Blinking light // :AUTHOR:Fred Beckhusen -// :KEYWORDS: -// :CREATED:2019-03-21 14:45:15 -// :EDITED:2019-03-21 13:45:15 -// :ID:1118 -// :NUM:1963 // :REV:1.0 // :WORLD:Second Life, Opensim // :DESCRIPTION: @@ -46,4 +40,4 @@ default counter++; } -} +} \ No newline at end of file diff --git a/Lightshare/Lightshare/Object/Lightshare.lsl b/Lightshare/Lightshare/Object/Lightshare.lsl index 2705f9d6..64dea48c 100644 --- a/Lightshare/Lightshare/Object/Lightshare.lsl +++ b/Lightshare/Lightshare/Object/Lightshare.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Lighting // :NAME:Lightshare // :AUTHOR:Jeff Hall -// :KEYWORDS: -// :CREATED:2019-03-18 23:29:59 -// :EDITED:2019-03-18 22:29:59 -// :ID:1114 -// :NUM:1919 // :REV:1.0 // :WORLD:Second Life, Opensim // :DESCRIPTION: diff --git a/MOAP Top 2000 Radio Stations Player/Top_Radio_Stations_Player/Object/Top_Radio_Stations_Player_1.lsl b/MOAP Top 2000 Radio Stations Player/Top_Radio_Stations_Player/Object/Top_Radio_Stations_Player_1.lsl index 325375bd..c3454fd1 100644 --- a/MOAP Top 2000 Radio Stations Player/Top_Radio_Stations_Player/Object/Top_Radio_Stations_Player_1.lsl +++ b/MOAP Top 2000 Radio Stations Player/Top_Radio_Stations_Player/Object/Top_Radio_Stations_Player_1.lsl @@ -4,7 +4,7 @@ // :AUTHOR:Fred Beckhusen (Ferd Frederix) // :KEYWORDS: // :CREATED:2012-09-04 15:30:52.010 -// :EDITED:2019-03-21 13:45:17 +// :EDITED:2017-11-19 20:55:11 // :ID:902 // :NUM:1278 // :REV:1.1 diff --git a/Opensim Partners/Opensim Partners/Object/Opensim Partners.lsl b/Opensim Partners/Opensim Partners/Object/Opensim Partners.lsl index 43742e07..b802070d 100644 --- a/Opensim Partners/Opensim Partners/Object/Opensim Partners.lsl +++ b/Opensim Partners/Opensim Partners/Object/Opensim Partners.lsl @@ -1,17 +1,7 @@ -// :SHOW: -// :CATEGORY:Dreamgrid Specific -// :NAME:Opensim Partners -// :AUTHOR:Digiworldz.com -// :KEYWORDS: -// :CREATED:2019-03-18 23:44:18 -// :EDITED:2019-03-18 22:44:18 -// :ID:1115 -// :NUM:1920 -// :REV:1 -// :WORLD:OpenSim -// :DESCRIPTION: -Opensim Partnership program// :REVISION: 2 -// :CODE: +//:AUTHOR: Digiworldz.com +//:DESCRIPTION: Opensim Partnership program +// :REVISION: 2 +//:CODE: // Put this in a box. When two people touch it, they can make a partership. // Mods by Fred Beckhusen (Ferd Frederix) for Dreamgrid diff --git a/Script Tests/Script tests/Object/GrafittiBoard.lsl b/Script Tests/Script tests/Object/GrafittiBoard.lsl index 0cbb4a4d..c2582e3b 100644 --- a/Script Tests/Script tests/Object/GrafittiBoard.lsl +++ b/Script Tests/Script tests/Object/GrafittiBoard.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1921 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test01.lsl b/Script Tests/Script tests/Object/KanEd-Test01.lsl index 9bb99ee2..51da178a 100644 --- a/Script Tests/Script tests/Object/KanEd-Test01.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test01.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1922 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test02.lsl b/Script Tests/Script tests/Object/KanEd-Test02.lsl index c6afe39f..28187e88 100644 --- a/Script Tests/Script tests/Object/KanEd-Test02.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test02.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1923 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test03.lsl b/Script Tests/Script tests/Object/KanEd-Test03.lsl index 2b04b73b..ef0376fd 100644 --- a/Script Tests/Script tests/Object/KanEd-Test03.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test03.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1924 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test04.lsl b/Script Tests/Script tests/Object/KanEd-Test04.lsl index ca08a9f7..15ace64f 100644 --- a/Script Tests/Script tests/Object/KanEd-Test04.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test04.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1925 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test05.lsl b/Script Tests/Script tests/Object/KanEd-Test05.lsl index bebd7227..99e9f52c 100644 --- a/Script Tests/Script tests/Object/KanEd-Test05.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test05.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1926 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test06.lsl b/Script Tests/Script tests/Object/KanEd-Test06.lsl index 253d0d68..32a30a70 100644 --- a/Script Tests/Script tests/Object/KanEd-Test06.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test06.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1927 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test07.lsl b/Script Tests/Script tests/Object/KanEd-Test07.lsl index 621def2f..5bec9799 100644 --- a/Script Tests/Script tests/Object/KanEd-Test07.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test07.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1928 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test08.lsl b/Script Tests/Script tests/Object/KanEd-Test08.lsl index 51200be7..897b4714 100644 --- a/Script Tests/Script tests/Object/KanEd-Test08.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test08.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1929 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test09.lsl b/Script Tests/Script tests/Object/KanEd-Test09.lsl index be9ef8cc..af9821cb 100644 --- a/Script Tests/Script tests/Object/KanEd-Test09.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test09.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1930 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test10.lsl b/Script Tests/Script tests/Object/KanEd-Test10.lsl index 0da2e470..3a4eb79e 100644 --- a/Script Tests/Script tests/Object/KanEd-Test10.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test10.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1931 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test11.lsl b/Script Tests/Script tests/Object/KanEd-Test11.lsl index 383b6be8..d8aac4d1 100644 --- a/Script Tests/Script tests/Object/KanEd-Test11.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test11.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1932 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test12.lsl b/Script Tests/Script tests/Object/KanEd-Test12.lsl index 1f1e00ae..deac8947 100644 --- a/Script Tests/Script tests/Object/KanEd-Test12.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test12.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1933 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test13.lsl b/Script Tests/Script tests/Object/KanEd-Test13.lsl index 7aca7b59..6071024b 100644 --- a/Script Tests/Script tests/Object/KanEd-Test13.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test13.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1934 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test14.lsl b/Script Tests/Script tests/Object/KanEd-Test14.lsl index 69a29584..8b74e69f 100644 --- a/Script Tests/Script tests/Object/KanEd-Test14.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test14.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1935 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test15.lsl b/Script Tests/Script tests/Object/KanEd-Test15.lsl index 74f014ba..a6d0901a 100644 --- a/Script Tests/Script tests/Object/KanEd-Test15.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test15.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:21 -// :EDITED:2019-03-18 22:44:21 -// :ID:1116 -// :NUM:1936 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/KanEd-Test16.lsl b/Script Tests/Script tests/Object/KanEd-Test16.lsl index c1e0bba9..2fb17120 100644 --- a/Script Tests/Script tests/Object/KanEd-Test16.lsl +++ b/Script Tests/Script tests/Object/KanEd-Test16.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1937 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llAbs.lsl b/Script Tests/Script tests/Object/llAbs.lsl index 71c89816..6a99754d 100644 --- a/Script Tests/Script tests/Object/llAbs.lsl +++ b/Script Tests/Script tests/Object/llAbs.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1938 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llAcos.lsl b/Script Tests/Script tests/Object/llAcos.lsl index 4eb4132b..6a64d01f 100644 --- a/Script Tests/Script tests/Object/llAcos.lsl +++ b/Script Tests/Script tests/Object/llAcos.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1939 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llAddToLandBanList.lsl b/Script Tests/Script tests/Object/llAddToLandBanList.lsl index 6b8b88e9..8716e411 100644 --- a/Script Tests/Script tests/Object/llAddToLandBanList.lsl +++ b/Script Tests/Script tests/Object/llAddToLandBanList.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1940 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llAddToLandPassList.lsl b/Script Tests/Script tests/Object/llAddToLandPassList.lsl index f0981c80..8716e411 100644 --- a/Script Tests/Script tests/Object/llAddToLandPassList.lsl +++ b/Script Tests/Script tests/Object/llAddToLandPassList.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1941 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llAdjustSoundVolume.lsl b/Script Tests/Script tests/Object/llAdjustSoundVolume.lsl index 67f50d35..d9d86975 100644 --- a/Script Tests/Script tests/Object/llAdjustSoundVolume.lsl +++ b/Script Tests/Script tests/Object/llAdjustSoundVolume.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1942 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llAllowInventoryDrop.lsl b/Script Tests/Script tests/Object/llAllowInventoryDrop.lsl index 94b9ce40..cad50ab6 100644 --- a/Script Tests/Script tests/Object/llAllowInventoryDrop.lsl +++ b/Script Tests/Script tests/Object/llAllowInventoryDrop.lsl @@ -1,17 +1,11 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1943 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: // One of many tests for Opensim -// :CODE: +// :CODE:integer allow; default { diff --git a/Script Tests/Script tests/Object/llAngleBetween.lsl b/Script Tests/Script tests/Object/llAngleBetween.lsl index a2ce24a3..da796268 100644 --- a/Script Tests/Script tests/Object/llAngleBetween.lsl +++ b/Script Tests/Script tests/Object/llAngleBetween.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1944 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llApplyImpulse.lsl b/Script Tests/Script tests/Object/llApplyImpulse.lsl index b6830a79..e50d8831 100644 --- a/Script Tests/Script tests/Object/llApplyImpulse.lsl +++ b/Script Tests/Script tests/Object/llApplyImpulse.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1945 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llAsin.lsl b/Script Tests/Script tests/Object/llAsin.lsl index d211dda7..30111b07 100644 --- a/Script Tests/Script tests/Object/llAsin.lsl +++ b/Script Tests/Script tests/Object/llAsin.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1946 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llAtan2.lsl b/Script Tests/Script tests/Object/llAtan2.lsl index 2d562720..6368ff85 100644 --- a/Script Tests/Script tests/Object/llAtan2.lsl +++ b/Script Tests/Script tests/Object/llAtan2.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1947 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llAvatarOnSitTarget.lsl b/Script Tests/Script tests/Object/llAvatarOnSitTarget.lsl index c2634c0c..5391a3a0 100644 --- a/Script Tests/Script tests/Object/llAvatarOnSitTarget.lsl +++ b/Script Tests/Script tests/Object/llAvatarOnSitTarget.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1948 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llBase64ToString.lsl b/Script Tests/Script tests/Object/llBase64ToString.lsl index ec406ac8..17bf80d6 100644 --- a/Script Tests/Script tests/Object/llBase64ToString.lsl +++ b/Script Tests/Script tests/Object/llBase64ToString.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1949 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llRemoveFromLandBanList.lsl b/Script Tests/Script tests/Object/llRemoveFromLandBanList.lsl index 14a2f931..8716e411 100644 --- a/Script Tests/Script tests/Object/llRemoveFromLandBanList.lsl +++ b/Script Tests/Script tests/Object/llRemoveFromLandBanList.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1950 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llRemoveFromLandPassList.lsl b/Script Tests/Script tests/Object/llRemoveFromLandPassList.lsl index 55a8abf5..8716e411 100644 --- a/Script Tests/Script tests/Object/llRemoveFromLandPassList.lsl +++ b/Script Tests/Script tests/Object/llRemoveFromLandPassList.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1951 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llResetLandBanList.lsl b/Script Tests/Script tests/Object/llResetLandBanList.lsl index f22ec2de..8716e411 100644 --- a/Script Tests/Script tests/Object/llResetLandBanList.lsl +++ b/Script Tests/Script tests/Object/llResetLandBanList.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1952 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llResetLandPassList.lsl b/Script Tests/Script tests/Object/llResetLandPassList.lsl index 771e20d3..8716e411 100644 --- a/Script Tests/Script tests/Object/llResetLandPassList.lsl +++ b/Script Tests/Script tests/Object/llResetLandPassList.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1953 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llSay.lsl b/Script Tests/Script tests/Object/llSay.lsl index cf8f4dcd..0f0ad364 100644 --- a/Script Tests/Script tests/Object/llSay.lsl +++ b/Script Tests/Script tests/Object/llSay.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1954 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llSetParcelMusicURL.lsl b/Script Tests/Script tests/Object/llSetParcelMusicURL.lsl index 0e576970..41437167 100644 --- a/Script Tests/Script tests/Object/llSetParcelMusicURL.lsl +++ b/Script Tests/Script tests/Object/llSetParcelMusicURL.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1955 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/llSetRot.lsl b/Script Tests/Script tests/Object/llSetRot.lsl index 08d357e1..6526017a 100644 --- a/Script Tests/Script tests/Object/llSetRot.lsl +++ b/Script Tests/Script tests/Object/llSetRot.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1956 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/osTextBoard.lsl b/Script Tests/Script tests/Object/osTextBoard.lsl index ec6d6b10..d2963e4a 100644 --- a/Script Tests/Script tests/Object/osTextBoard.lsl +++ b/Script Tests/Script tests/Object/osTextBoard.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1957 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/Script Tests/Script tests/Object/osWeatherMap.lsl b/Script Tests/Script tests/Object/osWeatherMap.lsl index ca4761f8..1f66dbb7 100644 --- a/Script Tests/Script tests/Object/osWeatherMap.lsl +++ b/Script Tests/Script tests/Object/osWeatherMap.lsl @@ -1,12 +1,6 @@ -// :SHOW: // :CATEGORY:Scripting -// :NAME:Script Tests // :AUTHOR:Justin Clark-Casey (justincc) // :KEYWORDS:Opensim -// :CREATED:2019-03-18 23:44:22 -// :EDITED:2019-03-18 22:44:22 -// :ID:1116 -// :NUM:1958 // :REV:1 // :WORLD:Opensim // :DESCRIPTION: diff --git a/SimtoSim_PseudoTeleporter_v31/SimtoSim_PseudoTeleporter_v31/Object/SimtoSim_PseudoTeleporter_v31_1.lsl b/SimtoSim_PseudoTeleporter_v31/SimtoSim_PseudoTeleporter_v31/Object/SimtoSim_PseudoTeleporter_v31_1.lsl index 1532cafe..ce92022f 100644 --- a/SimtoSim_PseudoTeleporter_v31/SimtoSim_PseudoTeleporter_v31/Object/SimtoSim_PseudoTeleporter_v31_1.lsl +++ b/SimtoSim_PseudoTeleporter_v31/SimtoSim_PseudoTeleporter_v31/Object/SimtoSim_PseudoTeleporter_v31_1.lsl @@ -1,310 +1,310 @@ -// :CATEGORY:Teleport -// :NAME:SimtoSim_PseudoTeleporter_v31 -// :AUTHOR:Sheena Desade -// :CREATED:2012-04-28 22:10:33.173 -// :EDITED:2013-09-18 15:39:02 -// :ID:769 -// :NUM:1056 -// :REV:1.0 -// :WORLD:Second Life -// :DESCRIPTION: -// This is Sheena Desade's Sim-to-Sim Teleporter Script (v3.1). // // Features/Pros: // Smart Menu - seamlessly cycles, rearranges buttons in a logical order. // Dynamic List Parsing - never worry about breaking the script by adding or removing a location. Instant Teleportation (no confirmation required!) via chat link (visit http://wiki.secondlife.com/wiki/Viewer_URI_Name_Space for more nifty links you can add to your own products). -// Add as many locations as the script's memory can hold! -// -// Missing/Cons: -// Sanity checks! Format things correctly, or it will break. -// Private chat - this says everything on channel zero for everyone to hear (does not use llRegionSayTo). -// Annoying notecard configuration. -// The sim/place names/location vectors lists could have been combined into one to save a little more memory. -// -// --------- -// 'Data' notecard: -// -// Hover_Text = Multi-Region Pseudo Teleporter: Click for Destinations -// Menu_Text = Please select your destination: -// Menu_Channel = 4765 -// Selection_Wait_Time = 30.0 -// Niamhinations! | Windlesham @ 207/580/133 -// --------- -// -// (template for the locations: Company Name | Region Name @ location x/location y/location z) -// :CODE: -/* -This script was made April 10, 2012 by Sheena Desade. It is meant only to be redistributed freely (not ever to be sold)! Leave this header intact; other than those two requirements, do what you will with it. And if you make an improvement, feel free to send me a copy. :-) -*/ - -// ******** OPTIONAL SETTINGS ********** -string hoverText = "Sim-to-Sim Pseudo Teleporter - click for destinations."; -float menuWait = 30.0; // How long to wait for the user to pick a menu choice -integer menuChannel = 0; // what channel for the object to 'listen' on. You can change this channel as needed, - // it's not calling out to an object outside of itself. -string menuText = "Please select your destination:"; -string itemDataNotecard = "Data"; - // The name of the notecard to read from -// ******** END OF OPTIONAL SETTINGS ********** - -// ******** SYSTEM SETTINGS - DO NOT MODIFY ********** - -// General variables -integer menu_handler; // what the function that brings up the menu is called -integer loc = -1; // -1 = none chosen; 0 = first location, etc. -integer length; // How long the placeNames list is, which we base everything else off of -integer curList = 1; // The current list number we're on -key curUser = NULL_KEY; // The current user's key - -// The following are required to read the notecard properly -integer notecardLine; -key currentDataRequest; -key notecarduuid; - -// These are the lists that hold all of our information -list simNames; // The sim names of the places to teleport to -list placeNames; // The region names of the places to teleport to -list locationVectors; // The position to teleport to -// ******** END OF SYSTEM SETTINGS ********** - -init() // Setup the dataserver event for future use -{ - llOwnerSay("Reading item data..."); - notecardLine = 0; // we start reading the notecard at line 0, the first line - currentDataRequest = llGetNotecardLine(itemDataNotecard, notecardLine); // specify our initial request -} - -advancedMenu(key user, string text, integer channel) -{ - menu_handler = llListen(menuChannel,"","",""); // Lets the object 'hear' the option you choose - if (length <= 12) llDialog(user,text,placeNames,channel); // Brings up a simple dialog if you have 12 or less options. - - else // If we have more than 12 options, create a multi-page dialog - { - list buttons; // Makes a list called 'buttons' that we will use later - - if (curList >= 1) // If we are not on page 0 (shouldn't be possible) - { - integer temp = (9*curList)-1; // Figures out which locations to display as buttons - buttons = llList2List(placeNames, temp-8, temp); // the 'buttons' list now has nine locations - // (List2List starts at 0, so we count 0 as 1) - buttons = llListInsertList(buttons, ["<< Prev", "Cancel", "Next >>"], temp+1); - // the 'buttons' list also now has three other options besides our nine locations - // (ListInsertList does NOT start at 0. It starts at 1.) - } - - buttons = - llList2List(buttons, -3, -1) - + llList2List(buttons, -6, -4) - + llList2List(buttons, -9, -7) - + llList2List(buttons, -12, -10); // Puts our buttons in the logical order, instead of the default reversed one - - llDialog(user,text,buttons,channel); // Sends a dialog to the user with the new improved button list - - } -} - -default -{ - on_rez(integer param) - { - llResetScript(); // Resets script on rez - } - - state_entry() - { - llOwnerSay("Initializing..."); - notecarduuid = llGetInventoryKey(itemDataNotecard); // collects our notecarduuid as soon as we enter this state - init(); // runs our init function to use with our dataserver function - } - - dataserver(key query, string data) - { - if (query == currentDataRequest) // if we are trying to read the notecard - { - currentDataRequest = ""; // Prevent a bug that occurs with dataserver events. - if (data != EOF) // If it isn't the end of the file - - // **** IMPORTANT: I did not put any sanity checks in here, so you'll need to type - // it all correctly, in the format "Store Name | Sim Name @ x/y/z" or it will not - // work correctly! **** - - { - integer s = llSubStringIndex(data, "@"); // We're looking for the @ symbol in our NC line - if(~s) // If we find it - { - string data1 = llStringTrim(llDeleteSubString(data, s, -1), STRING_TRIM); - // this line cuts out and saves everything before the @ symbol to use for the next index - string data4 = llStringTrim(llDeleteSubString(data, 0, s), STRING_TRIM); - // this line erases the @ symbol and temporarily saves the location into a seperate string - - integer s = llSubStringIndex(data1, "|"); // Now we're looking for the pipe symbol in only the - // 'data1' variable defined when we were parsing for the @ symbol - if(~s) // If we find it (which we should, but we will check later to make sure our lists are - // the same length, anyway) - { - string data2 = llDumpList2String(llParseString2List(llStringTrim(llDeleteSubString(data1, 0, s), STRING_TRIM), [" "], [""]), "%20"); - // Saves the first part in a temp string, erasing all spaces and replacing them with %20... there might be a better way to do this - string data3 = llStringTrim(llDeleteSubString(data1, s, -1), STRING_TRIM); - // Saves the second part in a temp string - - simNames += [data2]; - // copies the temporary string data2 into our simNames list. Could probably combine the two - // commands as with locationVectors. - placeNames += [data3]; - // copies the temporary string data3 into our placeNames list. Could probably combine the - // two commands, as with locationVectors and simNames. - locationVectors += [data4]; - // this line copies the temporary string into our locationVectors list. We put it here so that it - // will not add the locationVector unless there are also sim and placeNames. - } - } - - else - { - integer s = llSubStringIndex(data, "="); // Now we are looking for the = symbol - if(~s) // if we find it - { - string token = llToLower(llStringTrim(llDeleteSubString(data, s, -1), STRING_TRIM)); - // use our tokens to determine which variable we are defining - data = llStringTrim(llDeleteSubString(data, 0, s), STRING_TRIM); - // use our data to define our chosen variable - - if (token == "hover_text") - hoverText = data; - else if (token == "menu_text") - menuText = data; - else if (token == "menu_channel") - menuChannel = (integer)data; - else if (token == "selection_wait_time") - menuWait = (float)data; - } - } - - notecardLine++; - // Get the next line - currentDataRequest = llGetNotecardLine(itemDataNotecard, notecardLine); - } - - else // If it is the End of File - { - length = llGetListLength(placeNames); // Defines how many entries we have in the placeNames list - llOwnerSay ("Done reading data."); - state configured; - } - } - } -} - -state configured -{ - state_entry() - { - if (hoverText != "none") llSetText(hoverText, <1.0,1.0,1.0>, 1); // if you want hovertext - if (hoverText == "none") llSetText("---", <1.0, 1.0, 1.0>, 0); // if you do not want hovertext - llWhisper(0, "Ready and waiting."); - loc = -1; // Resets the location to none - } - - changed(integer change) - { - // We want to reload channel notecard if it changed - if (change & CHANGED_INVENTORY) - { - if(notecarduuid != llGetInventoryKey(itemDataNotecard)) // If the change was triggered by saving the NC - { - llOwnerSay("Notecard change detected, resetting script."); - llResetScript(); // resets the script - } - } - } - - timer() - { - llListenRemove(menu_handler); // remove the listen event - llInstantMessage(curUser, "Menu session timed out; choices automatically reset."); - llSetTimerEvent(0.0); // removes the timer event, as it's not needed at the moment - curList = 1; // reset our page to page one - loc = -1; // set our location to none - curUser = NULL_KEY; // resets the user to none - } - - touch_start(integer total_number) - { - if(curUser == NULL_KEY || curUser == llDetectedKey(0)) // if there is no user or the toucher is the - // current user - { - curUser = llDetectedKey(0); // records the key of the curent user - advancedMenu(curUser, menuText, menuChannel); // Sends the user our dialog box - llSetTimerEvent(menuWait); // Sets our timer event so the menu will time out - } - - if(curUser != NULL_KEY && curUser != llDetectedKey(0)) // If the toucher is not the current user - llInstantMessage(llDetectedKey(0), "Sorry, this terminal is in use. Please wait your turn."); - } - - listen(integer channel,string name,key id,string message) - //this is for the script to follow instructions based on what happens with the menu. - { - if(message == "<< Prev") - { - if(curList <= 1) // If we're on the first page - { - curList = llCeil((float)length/9); // the current page needs to be changed to the last page, since - // we're cycling backwards. We do this by rounding up (to cover any remainders) the length variable - // (how many options we have total) divided by nine (since that's the number of buttons we need). 4.000 - // will always round up to 4 (I think?). - advancedMenu(curUser, menuText, menuChannel); // Give them our menu dialog - llSetTimerEvent(menuWait); // how long until the menu times out? - } - - else // If we're not on page one - { - curList--; // Go backwards a page - advancedMenu(curUser, menuText, menuChannel); // Give them our menu dialog - llSetTimerEvent(menuWait); // how long until the menu times out? - } - } - - else if(message == "Next >>") - { - if(curList*9 >= length) // if we have cycled through all options in our list - { - curList = 1; // go to page one - advancedMenu(curUser, menuText, menuChannel); // Give the user our dialog menu - llSetTimerEvent(menuWait); // how long until the menu times out? - } - - else - { - curList++; // go to the next page - advancedMenu(curUser, menuText, menuChannel); // Give the user our dialog menu - llSetTimerEvent(menuWait); // how long until the menu times out? - } - } - - else if(message == "Cancel") - { - llInstantMessage(curUser, "Teleport cancelled."); - curUser = NULL_KEY; // Erase the current user - curList = 1; // Put our page back on the first page - llListenRemove(menu_handler); // remove our listen event - llSetTimerEvent(0.0); //removes the timer event, as it's not needed at the moment - } - - else - { - - loc = llListFindList(placeNames, (list)message); // determine which location we are teleporting to - - if(loc >= 0) // if it's an actual location - { - if (hoverText != "none") llSetText("Click the link to teleport", <1.0,1.0,1.0>, 1); - // if you want hovertext - llInstantMessage(curUser, "Click this link to teleport to your target location - " + "secondlife:///app/teleport/" + llList2String(simNames, loc) + "/" + llList2String(locationVectors, loc)); // Give them the link to click - llSetTimerEvent(0.0); // removes the timer event, as it's not needed at the moment - llSleep(2.5); - curUser = NULL_KEY; // resets our user so others can use the teleporter - loc = -1; // reset our location to none - curList = 1; // reset our page to one - if (hoverText != "none") llSetText(hoverText, <1.0,1.0,1.0>, 1); - } - } - } -} +// :CATEGORY:Teleport +// :NAME:SimtoSim_PseudoTeleporter_v31 +// :AUTHOR:Sheena Desade +// :CREATED:2012-04-28 22:10:33.173 +// :EDITED:2013-09-18 15:39:02 +// :ID:769 +// :NUM:1056 +// :REV:1.0 +// :WORLD:Second Life +// :DESCRIPTION: +// This is Sheena Desade's Sim-to-Sim Teleporter Script (v3.1). // // Features/Pros: // Smart Menu - seamlessly cycles, rearranges buttons in a logical order.// Dynamic List Parsing - never worry about breaking the script by adding or removing a location.Instant Teleportation (no confirmation required!) via chat link (visit http://wiki.secondlife.com/wiki/Viewer_URI_Name_Space for more nifty links you can add to your own products). +// Add as many locations as the script's memory can hold! +// +// Missing/Cons: +// Sanity checks! Format things correctly, or it will break. +// Private chat - this says everything on channel zero for everyone to hear (does not use llRegionSayTo). +// Annoying notecard configuration. +// The sim/place names/location vectors lists could have been combined into one to save a little more memory. +// +// --------- +// 'Data' notecard: +// +// Hover_Text = Multi-Region Pseudo Teleporter: Click for Destinations +// Menu_Text = Please select your destination: +// Menu_Channel = 4765 +// Selection_Wait_Time = 30.0 +// Niamhinations! | Windlesham @ 207/580/133 +// --------- +// +// (template for the locations: Company Name | Region Name @ location x/location y/location z) +// :CODE: +/* + This script was made April 10, 2012 by Sheena Desade. It is meant only to be redistributed freely (not ever to be sold)! Leave this header intact; other than those two requirements, do what you will with it. And if you make an improvement, feel free to send me a copy. :-) + */ + + // ******** OPTIONAL SETTINGS ********** + string hoverText = "Sim-to-Sim Pseudo Teleporter - click for destinations."; +float menuWait = 30.0; // How long to wait for the user to pick a menu choice +integer menuChannel = 0; // what channel for the object to 'listen' on. You can change this channel as needed, +// it's not calling out to an object outside of itself. +string menuText = "Please select your destination:"; +string itemDataNotecard = "Data"; +// The name of the notecard to read from +// ******** END OF OPTIONAL SETTINGS ********** + +// ******** SYSTEM SETTINGS - DO NOT MODIFY ********** + +// General variables +integer menu_handler; // what the function that brings up the menu is called +integer loc = -1; // -1 = none chosen; 0 = first location, etc. +integer length; // How long the placeNames list is, which we base everything else off of +integer curList = 1; // The current list number we're on +key curUser = NULL_KEY; // The current user's key + +// The following are required to read the notecard properly +integer notecardLine; +key currentDataRequest; +key notecarduuid; + +// These are the lists that hold all of our information +list simNames; // The sim names of the places to teleport to +list placeNames; // The region names of the places to teleport to +list locationVectors; // The position to teleport to +// ******** END OF SYSTEM SETTINGS ********** + +init() // Setup the dataserver event for future use +{ + llOwnerSay("Reading item data..."); + notecardLine = 0; // we start reading the notecard at line 0, the first line + currentDataRequest = llGetNotecardLine(itemDataNotecard, notecardLine); // specify our initial request +} + +advancedMenu(key user, string text, integer channel) +{ + menu_handler = llListen(menuChannel,"","",""); // Lets the object 'hear' the option you choose + if (length <= 12) llDialog(user,text,placeNames,channel); // Brings up a simple dialog if you have 12 or less options. + + else // If we have more than 12 options, create a multi-page dialog + { + list buttons; // Makes a list called 'buttons' that we will use later + + if (curList >= 1) // If we are not on page 0 (shouldn't be possible) + { + integer temp = (9*curList)-1; // Figures out which locations to display as buttons + buttons = llList2List(placeNames, temp-8, temp); // the 'buttons' list now has nine locations + // (List2List starts at 0, so we count 0 as 1) + buttons = llListInsertList(buttons, ["<< Prev", "Cancel", "Next >>"], temp+1); + // the 'buttons' list also now has three other options besides our nine locations + // (ListInsertList does NOT start at 0. It starts at 1.) + } + + buttons = + llList2List(buttons, -3, -1) + + llList2List(buttons, -6, -4) + + llList2List(buttons, -9, -7) + + llList2List(buttons, -12, -10); // Puts our buttons in the logical order, instead of the default reversed one + + llDialog(user,text,buttons,channel); // Sends a dialog to the user with the new improved button list + + } +} + +default +{ + on_rez(integer param) + { + llResetScript(); // Resets script on rez + } + + state_entry() + { + llOwnerSay("Initializing..."); + notecarduuid = llGetInventoryKey(itemDataNotecard); // collects our notecarduuid as soon as we enter this state + init(); // runs our init function to use with our dataserver function + } + + dataserver(key query, string data) + { + if (query == currentDataRequest) // if we are trying to read the notecard + { + currentDataRequest = ""; // Prevent a bug that occurs with dataserver events. + if (data != EOF) // If it isn't the end of the file + + // **** IMPORTANT: I did not put any sanity checks in here, so you'll need to type + // it all correctly, in the format "Store Name | Sim Name @ x/y/z" or it will not + // work correctly! **** + + { + integer s = llSubStringIndex(data, "@"); // We're looking for the @ symbol in our NC line + if(~s) // If we find it + { + string data1 = llStringTrim(llDeleteSubString(data, s, -1), STRING_TRIM); + // this line cuts out and saves everything before the @ symbol to use for the next index + string data4 = llStringTrim(llDeleteSubString(data, 0, s), STRING_TRIM); + // this line erases the @ symbol and temporarily saves the location into a seperate string + + integer sy = llSubStringIndex(data1, "|"); // Now we're looking for the pipe symbol in only the + // 'data1' variable defined when we were parsing for the @ symbol + if(~sy) // If we find it (which we should, but we will check later to make sure our lists are + // the same length, anyway) + { + string data2 = llDumpList2String(llParseString2List(llStringTrim(llDeleteSubString(data1, 0, sy), STRING_TRIM), [" "], [""]), "%20"); + // Saves the first part in a temp string, erasing all spaces and replacing them with %20... there might be a better way to do this + string data3 = llStringTrim(llDeleteSubString(data1, sy, -1), STRING_TRIM); + // Saves the second part in a temp string + + simNames += [data2]; + // copies the temporary string data2 into our simNames list. Could probably combine the two + // commands as with locationVectors. + placeNames += [data3]; + // copies the temporary string data3 into our placeNames list. Could probably combine the + // two commands, as with locationVectors and simNames. + locationVectors += [data4]; + // this line copies the temporary string into our locationVectors list. We put it here so that it + // will not add the locationVector unless there are also sim and placeNames. + } + } + + else + { + integer sx = llSubStringIndex(data, "="); // Now we are looking for the = symbol + if(~sx) // if we find it + { + string token = llToLower(llStringTrim(llDeleteSubString(data, s, -1), STRING_TRIM)); + // use our tokens to determine which variable we are defining + data = llStringTrim(llDeleteSubString(data, 0, sx), STRING_TRIM); + // use our data to define our chosen variable + + if (token == "hover_text") + hoverText = data; + else if (token == "menu_text") + menuText = data; + else if (token == "menu_channel") + menuChannel = (integer)data; + else if (token == "selection_wait_time") + menuWait = (float)data; + } + } + + notecardLine++; + // Get the next line + currentDataRequest = llGetNotecardLine(itemDataNotecard, notecardLine); + } + + else // If it is the End of File + { + length = llGetListLength(placeNames); // Defines how many entries we have in the placeNames list + llOwnerSay ("Done reading data."); + state configured; + } + } + } +} + +state configured +{ + state_entry() + { + if (hoverText != "none") llSetText(hoverText, <1.0,1.0,1.0>, 1); // if you want hovertext + if (hoverText == "none") llSetText("---", <1.0, 1.0, 1.0>, 0); // if you do not want hovertext + llWhisper(0, "Ready and waiting."); + loc = -1; // Resets the location to none + } + + changed(integer change) + { + // We want to reload channel notecard if it changed + if (change & CHANGED_INVENTORY) + { + if(notecarduuid != llGetInventoryKey(itemDataNotecard)) // If the change was triggered by saving the NC + { + llOwnerSay("Notecard change detected, resetting script."); + llResetScript(); // resets the script + } + } + } + + timer() + { + llListenRemove(menu_handler); // remove the listen event + llInstantMessage(curUser, "Menu session timed out; choices automatically reset."); + llSetTimerEvent(0.0); // removes the timer event, as it's not needed at the moment + curList = 1; // reset our page to page one + loc = -1; // set our location to none + curUser = NULL_KEY; // resets the user to none + } + + touch_start(integer total_number) + { + if(curUser == NULL_KEY || curUser == llDetectedKey(0)) // if there is no user or the toucher is the + // current user + { + curUser = llDetectedKey(0); // records the key of the curent user + advancedMenu(curUser, menuText, menuChannel); // Sends the user our dialog box + llSetTimerEvent(menuWait); // Sets our timer event so the menu will time out + } + + if(curUser != NULL_KEY && curUser != llDetectedKey(0)) // If the toucher is not the current user + llInstantMessage(llDetectedKey(0), "Sorry, this terminal is in use. Please wait your turn."); + } + + listen(integer channel,string name,key id,string message) + //this is for the script to follow instructions based on what happens with the menu. + { + if(message == "<< Prev") + { + if(curList <= 1) // If we're on the first page + { + curList = llCeil((float)length/9); // the current page needs to be changed to the last page, since + // we're cycling backwards. We do this by rounding up (to cover any remainders) the length variable + // (how many options we have total) divided by nine (since that's the number of buttons we need). 4.000 + // will always round up to 4 (I think?). + advancedMenu(curUser, menuText, menuChannel); // Give them our menu dialog + llSetTimerEvent(menuWait); // how long until the menu times out? + } + + else // If we're not on page one + { + curList--; // Go backwards a page + advancedMenu(curUser, menuText, menuChannel); // Give them our menu dialog + llSetTimerEvent(menuWait); // how long until the menu times out? + } + } + + else if(message == "Next >>") + { + if(curList*9 >= length) // if we have cycled through all options in our list + { + curList = 1; // go to page one + advancedMenu(curUser, menuText, menuChannel); // Give the user our dialog menu + llSetTimerEvent(menuWait); // how long until the menu times out? + } + + else + { + curList++; // go to the next page + advancedMenu(curUser, menuText, menuChannel); // Give the user our dialog menu + llSetTimerEvent(menuWait); // how long until the menu times out? + } + } + + else if(message == "Cancel") + { + llInstantMessage(curUser, "Teleport cancelled."); + curUser = NULL_KEY; // Erase the current user + curList = 1; // Put our page back on the first page + llListenRemove(menu_handler); // remove our listen event + llSetTimerEvent(0.0); //removes the timer event, as it's not needed at the moment + } + + else + { + + loc = llListFindList(placeNames, (list)message); // determine which location we are teleporting to + + if(loc >= 0) // if it's an actual location + { + if (hoverText != "none") llSetText("Click the link to teleport", <1.0,1.0,1.0>, 1); + // if you want hovertext + llInstantMessage(curUser, "Click this link to teleport to your target location - " + "secondlife:///app/teleport/" + llList2String(simNames, loc) + "/" + llList2String(locationVectors, loc)); // Give them the link to click + llSetTimerEvent(0.0); // removes the timer event, as it's not needed at the moment + llSleep(2.5); + curUser = NULL_KEY; // resets our user so others can use the teleporter + loc = -1; // reset our location to none + curList = 1; // reset our page to one + if (hoverText != "none") llSetText(hoverText, <1.0,1.0,1.0>, 1); + } + } + } +} diff --git a/Top2000_Radio_Stations_Player/Top_Radio_Stations_Player/Object/Remote parcel script.lsl b/Top2000_Radio_Stations_Player/Top_Radio_Stations_Player/Object/Remote parcel script.lsl index 51058f46..bdf234e5 100644 --- a/Top2000_Radio_Stations_Player/Top_Radio_Stations_Player/Object/Remote parcel script.lsl +++ b/Top2000_Radio_Stations_Player/Top_Radio_Stations_Player/Object/Remote parcel script.lsl @@ -4,7 +4,7 @@ // :AUTHOR:Fred Beckhusen (Ferd Frederix) // :KEYWORDS: // :CREATED:2013-12-14 13:33:32 -// :EDITED:2019-03-21 13:45:22 +// :EDITED:2017-11-19 20:56:02 // :ID:902 // :NUM:1558 // :REV:1.2