diff --git a/Fk/util.js b/Fk/util.js index a87a27b3..730c7452 100644 --- a/Fk/util.js +++ b/Fk/util.js @@ -38,10 +38,10 @@ function processPrompt(prompt) { if (data.length > 3) { for (let i = 4; i < data.length; i++) { - raw = raw.replace(new RegExp("%arg" + (i - 2), "g"), data[i]); + raw = raw.replace(new RegExp("%arg" + (i - 2), "g"), luatr(data[i])); } - raw = raw.replace(new RegExp("%arg", "g"), data[3]); + raw = raw.replace(new RegExp("%arg", "g"), luatr(data[3])); } return raw; }