aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/1chatter.lsl
diff options
context:
space:
mode:
authoronefang2021-09-06 22:22:07 +1000
committeronefang2021-09-06 22:22:07 +1000
commitd979ead2e64476b72266d94bfd35c400e93f9e77 (patch)
treeff3b0496dc3cdf0b24ef62ab13ad7b85ba4b51ea /1chatter.lsl
parent1AOor2.ADJUST_ALL (diff)
download1ring-d979ead2e64476b72266d94bfd35c400e93f9e77.zip
1ring-d979ead2e64476b72266d94bfd35c400e93f9e77.tar.gz
1ring-d979ead2e64476b72266d94bfd35c400e93f9e77.tar.bz2
1ring-d979ead2e64476b72266d94bfd35c400e93f9e77.tar.xz
Various bits and clean ups.
Diffstat (limited to '1chatter.lsl')
-rw-r--r--1chatter.lsl10
1 files changed, 7 insertions, 3 deletions
diff --git a/1chatter.lsl b/1chatter.lsl
index 8ce9237..5a7652d 100644
--- a/1chatter.lsl
+++ b/1chatter.lsl
@@ -1402,10 +1402,10 @@ fr="1AOor2";
1402 Menus = wipe(Menus, fr, mSTRIDE); 1402 Menus = wipe(Menus, fr, mSTRIDE);
1403 Musers = wipe(Musers, fr, uSTRIDE, uSTACK); 1403 Musers = wipe(Musers, fr, uSTRIDE, uSTACK);
1404 Settings = wipe(Settings, fr, sSTRIDE); 1404 Settings = wipe(Settings, fr, sSTRIDE);
1405 readTheme(fr);
1406 Settings = saveThing(Settings, sSTRIDE, ["PREFIX", "S", fr, aALL], 4, fr + "."); 1405 Settings = saveThing(Settings, sSTRIDE, ["PREFIX", "S", fr, aALL], 4, fr + ".");
1407 Settings = saveThing(Settings, sSTRIDE, ["SCRIPTKEY", "K", them, aALL], 4, fr + "."); 1406 Settings = saveThing(Settings, sSTRIDE, ["SCRIPTKEY", "K", them, aALL], 4, fr + ".");
1408 Settings = saveThing(Settings, sSTRIDE, ["VERSION", "S", "", aALL], 4, fr + "."); 1407 Settings = saveThing(Settings, sSTRIDE, ["VERSION", "S", "", aALL], 4, fr + ".");
1408 readTheme(fr);
1409 sendScript(them, lALIAS_DONE, Aliases); 1409 sendScript(them, lALIAS_DONE, Aliases);
1410 sendScript(them, lRESET_DONE, Settings); 1410 sendScript(them, lRESET_DONE, Settings);
1411 sendScript(them, lCMD, "*.", [fHTTP, ScriptKey, URL_REQUEST_GRANTED, "URL", URL]); 1411 sendScript(them, lCMD, "*.", [fHTTP, ScriptKey, URL_REQUEST_GRANTED, "URL", URL]);
@@ -1650,8 +1650,12 @@ d("listen 1ring.CHANNEL " + message + " -> " + button + " " + cmd + " " + data);
1650 list dt = llParseString2List(llList2String(t, 1), [" "], []); 1650 list dt = llParseString2List(llList2String(t, 1), [" "], []);
1651 string cmd = llList2String(dt, 0); 1651 string cmd = llList2String(dt, 0);
1652 dt = llListReplaceList(dt, [], 0, 0); 1652 dt = llListReplaceList(dt, [], 0, 0);
1653//d("timer " + script + "->" + fr + " ... " + cmd + "=" + llDumpList2String(dt, " ")); 1653d("timer " + script + "->" + fr + " ... " + cmd + "=" + llDumpList2String(dt, " ") + " " + them);
1654 sendScript(them, lCMD, fr + ".", [fINT, them, "TimerEvent", cmd, llDumpList2String(dt, " ")]); 1654 if (them == ScriptKey)
1655//integer doThing(key id, string command, string fr, string cmd, string data, integer source)
1656 doThing(them, cmd, "*.", cmd, "", fINT);
1657 else
1658 sendScript(them, lCMD, fr + ".", [fINT, them, "TimerEvent", cmd, llDumpList2String(dt, " ")]);
1655 } 1659 }
1656 } 1660 }
1657 llSetTimerEvent(NextEvent - now); 1661 llSetTimerEvent(NextEvent - now);