diff options
Diffstat (limited to '')
-rw-r--r-- | 1chatter.lsl | 10 |
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, " ")); | 1653 | d("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); |