Skip to content

Commit

Permalink
Update oc_leash.lsl
Browse files Browse the repository at this point in the history
  • Loading branch information
Medea-Destiny authored Nov 28, 2023
1 parent d560434 commit 3f8bdad
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions src/collar/oc_leash.lsl
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
// This file is part of OpenCollar.
// Copyright (c) 2008 - 2016 Nandana Singh, Lulu Pink, Garvin Twine,
// Joy Stipe, Cleo Collins, Satomi Ahn, Master Starship, Toy Wylie,
// Kaori Gray, Sei Lisa, Wendy Starfall, littlemousy, Romka Swallowtail,
// Sumi Perl, Karo Weirsider, Kurt Burleigh, Marissa Mistwallow et al.
// Licensed under the GPLv2. See LICENSE for full details.
string g_sScriptVersion = "8.1";
/* This file is part of OpenCollar.
Copyright (c) 2008 - 2016 Nandana Singh, Lulu Pink, Garvin Twine,
Joy Stipe, Cleo Collins, Satomi Ahn, Master Starship, Toy Wylie,
Kaori Gray, Sei Lisa, Wendy Starfall, littlemousy, Romka Swallowtail,
Sumi Perl, Karo Weirsider, Kurt Burleigh, Marissa Mistwallow et al.
Licensed under the GPLv2. See LICENSE for full details.
Medea (medea.destiny)
Nov 2023 - Added EXC_REFRESH call after releasing strict leash
to ensure that exceptions that should be in place get
restored.
*/
string g_sScriptVersion = "8.3";
integer LINK_CMD_DEBUG=1999;

// ------ TOKEN DEFINITIONS ------
Expand Down Expand Up @@ -52,6 +58,7 @@ integer RLV_CMD = 6000;

integer RLV_OFF = 6100;
integer RLV_ON = 6101;
integer EXC_REFRESH=6200; // send to request exceptions are refreshed.

integer LEASH_START_MOVEMENT = 6200;
integer LEASH_END_MOVEMENT = 6201;
Expand Down Expand Up @@ -220,6 +227,8 @@ ApplyRestrictions() {
}
//Debug("Releasing restrictions");
llMessageLinked(LINK_SET, RLV_CMD, "clear", "realleash"); //release all restrictions
llSleep(1);
if(g_iStrictModeOn) llMessageLinked(LINK_SET,EXC_REFRESH,"","");
}
key g_kPassLeashFrom;
list g_lPasslPoints;
Expand Down

0 comments on commit 3f8bdad

Please sign in to comment.