From bb917be0a59e8ca69d5c19b28b820476d7c81c11 Mon Sep 17 00:00:00 2001 From: corncobman21 <corncobman21@hotmail.com> Date: Mon, 18 Dec 2017 04:39:03 -0500 Subject: [PATCH] Change name lisp replacing to JS function --- src/uncategorized/addCustomDescriptors.tw | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/uncategorized/addCustomDescriptors.tw b/src/uncategorized/addCustomDescriptors.tw index 7240ae36b49..bb6dea80c1f 100644 --- a/src/uncategorized/addCustomDescriptors.tw +++ b/src/uncategorized/addCustomDescriptors.tw @@ -17,7 +17,8 @@ You may enter custom descriptors for your slave's hair color, hair style, tattoo <<link "Apply">> <<replace "#result">> She'll try her best to call you $activeSlave.customTitle. - <<set $activeSlave.customTitleLisp = $activeSlave.customTitle, $activeSlave.customTitleLisp = $activeSlave.customTitleLisp.replace("ss", "th"), $activeSlave.customTitleLisp = $activeSlave.customTitleLisp.replace("S", "Th"), $activeSlave.customTitleLisp = $activeSlave.customTitleLisp.replace("s", "th")>> + <<set $activeSlave.customTitleLisp = $activeSlave.customTitle>> + <<set $activeSlave.customTitleLisp = nameReplace($activeSlave.customTitleLisp)>> <</replace>> <</link>> <</replace>> @@ -28,7 +29,8 @@ You may enter custom descriptors for your slave's hair color, hair style, tattoo <<link "Apply">> <<replace "#result">> She'll try her best to call you $activeSlave.customTitle. - <<set $activeSlave.customTitleLisp = $activeSlave.customTitle, $activeSlave.customTitleLisp = $activeSlave.customTitleLisp.replace("ss", "th"), $activeSlave.customTitleLisp = $activeSlave.customTitleLisp.replace("S", "Th"), $activeSlave.customTitleLisp = $activeSlave.customTitleLisp.replace("s", "th")>> + <<set $activeSlave.customTitleLisp = $activeSlave.customTitle>> + <<set $activeSlave.customTitleLisp = nameReplace($activeSlave.customTitleLisp)>> <</replace>> <</link>> | <<link "Stop using a custom title">> -- GitLab