Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update oc_rlvextension.lsl #1085

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/collar/oc_leash.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ integer RLV_CMD = 6000;

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

integer LEASH_START_MOVEMENT = 6200;
integer LEASH_END_MOVEMENT = 6201;
Expand Down
6 changes: 4 additions & 2 deletions src/collar/oc_rlvextension.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ integer RLV_REFRESH = 6001;//RLV plugins should reinstate their restrictions upo
integer RLV_CMD_OVERRIDE=6010; // one-shot (=force) command that will override restrictions. Only use if Auth is owner level
integer RLV_OFF = 6100; // send to inform plugins that RLV is disabled now, no message or key needed
integer RLV_ON = 6101; // send to inform plugins that RLV is enabled now, no message or key needed
integer EXC_REFRESH=6200; // send to request exceptions are refreshed.
integer EXC_REFRESH=6109; // send to request exceptions are refreshed.


integer DIALOG = -9000;
Expand All @@ -121,7 +121,7 @@ key g_kWearer;
string g_sCameraBackMenu="menu manage"; //for allowing the camera settings menu to be in 2 places.


list g_lCheckboxes=["⬜",""];
list g_lCheckboxes= ["□",""];
string Checkbox(integer iValue, string sLabel) {
return llList2String(g_lCheckboxes, (iValue&1))+" "+sLabel;
}
Expand Down Expand Up @@ -849,6 +849,8 @@ state active
SetAllExes(TRUE,EX_TYPE_OWNER|EX_TYPE_TRUSTED|EX_TYPE_CUSTOM,FALSE);
g_iRLV = FALSE;
} else if(iNum==EXC_REFRESH) {
SetAllExes(TRUE,EX_TYPE_OWNER|EX_TYPE_TRUSTED|EX_TYPE_CUSTOM,FALSE);
llSleep(1);
SetAllExes(FALSE,EX_TYPE_OWNER|EX_TYPE_TRUSTED|EX_TYPE_CUSTOM,FALSE);
} else if (iNum == RLV_REFRESH || iNum == RLV_ON) {
g_iRLV = TRUE;
Expand Down
Loading