Skip to content

Commit

Permalink
Update oc_rlvextension.lsl
Browse files Browse the repository at this point in the history
  • Loading branch information
Medea-Destiny authored Nov 28, 2023
1 parent a95c6d4 commit 1089d7a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/collar/oc_rlvextension.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -181,18 +181,12 @@ list g_lMuffleReplace = [

integer g_iMuffleListener;

/*string strReplace(string str, string search, string replace)
{
return llDumpList2String(llParseStringKeepNulls((str = "") + str, [search], []), replace);
}*/

string MuffleText(string sText)
{
integer i;
for (i=0; i<llGetListLength(g_lMuffleReplace);i+=2)
{
sText = llDumpList2String(llParseStringKeepNulls(sText,llList2List(g_lMuffleReplace,i,i),[]),llList2String(g_lMuffleReplace,i+1));
//sText = strReplace(sText, llList2String(g_lMuffleReplace,i),llList2String(g_lMuffleReplace,i+1));
}
return sText;
}
Expand Down

0 comments on commit 1089d7a

Please sign in to comment.